From 32c0bf4723d2d973e3f7574531019cb8fa23adc8 Mon Sep 17 00:00:00 2001 From: ghaushe Date: Sun, 19 Jan 2003 03:03:53 +0000 Subject: [PATCH] Fixed some variable initialization issues (in do not care conditions, but still) git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@568 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/src/sc2code/commglue.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sc2/src/sc2code/commglue.c b/sc2/src/sc2code/commglue.c index fb8bd9cc6..9712cd476 100644 --- a/sc2/src/sc2code/commglue.c +++ b/sc2/src/sc2code/commglue.c @@ -32,10 +32,12 @@ NPCPhrase (int index) case GLOBAL_PLAYER_NAME: pStr = GLOBAL_SIS (CommanderName); pClip = 0; + pTimeStamp = 0; break; case GLOBAL_SHIP_NAME: pStr = GLOBAL_SIS (ShipName); pClip = 0; + pTimeStamp = 0; break; case GLOBAL_PLAYER_LOCATION: { @@ -52,6 +54,7 @@ NPCPhrase (int index) (SIZE)(dx / 10), (COUNT)(adx % 10)); pStr = numbuf; pClip = 0; + pTimeStamp = 0; break; } default: