Removed a couple more warnings

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1302 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
mcmartin
2003-12-14 15:42:42 +00:00
parent 50c7f587bc
commit 214298e9b0
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -2143,7 +2143,7 @@ InitCommunication (RESOURCE which_comm)
SetResourceIndex (hIndex);
LocDataPtr = (LOCDATAPTR)init_race (
status != YEHAT_REBEL_SHIP ? which_comm : YEHAT_REBEL_CONVERSATION
status != YEHAT_REBEL_SHIP ? which_comm : (RESOURCE)YEHAT_REBEL_CONVERSATION
);
if (LocDataPtr)
CommData = *LocDataPtr;
+3
View File
@@ -227,5 +227,8 @@ WaitAnyButtonOrQuit (BOOLEAN CheckSpecial)
!(GLOBAL (CurrentActivity) & CHECK_ABORT))
TaskSwitch ();
/* Satisfy unused parameter */
(void) CheckSpecial;
return (GLOBAL (CurrentActivity) & CHECK_ABORT) != 0;
}