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
This commit is contained in:
ghaushe
2003-01-19 03:03:53 +00:00
parent 62d84d85db
commit 32c0bf4723
+3
View File
@@ -32,10 +32,12 @@ NPCPhrase (int index)
case GLOBAL_PLAYER_NAME: case GLOBAL_PLAYER_NAME:
pStr = GLOBAL_SIS (CommanderName); pStr = GLOBAL_SIS (CommanderName);
pClip = 0; pClip = 0;
pTimeStamp = 0;
break; break;
case GLOBAL_SHIP_NAME: case GLOBAL_SHIP_NAME:
pStr = GLOBAL_SIS (ShipName); pStr = GLOBAL_SIS (ShipName);
pClip = 0; pClip = 0;
pTimeStamp = 0;
break; break;
case GLOBAL_PLAYER_LOCATION: case GLOBAL_PLAYER_LOCATION:
{ {
@@ -52,6 +54,7 @@ NPCPhrase (int index)
(SIZE)(dx / 10), (COUNT)(adx % 10)); (SIZE)(dx / 10), (COUNT)(adx % 10));
pStr = numbuf; pStr = numbuf;
pClip = 0; pClip = 0;
pTimeStamp = 0;
break; break;
} }
default: default: