Bug 5094 - Code cleanup, patch by Zack Middleton and DevHC. Fixes unused-but-set gcc warnings
This commit is contained in:
1 parent
1ea7ab1f42
commit
23f6fd1633
85 files changed
+246
-496
No files matched your search
@@ -1698,7 +1698,6 @@ int PC_EvaluateTokens(source_t *source, token_t *tokens, signed long int *intval
|
||||
int questmarkintvalue = 0;
|
||||
float questmarkfloatvalue = 0;
|
||||
int gotquestmarkvalue = qfalse;
|
||||
int lastoperatortype = 0;
|
||||
//
|
||||
operator_t operator_heap[MAX_OPERATORS];
|
||||
int numoperators = 0;
|
||||
@@ -2087,7 +2086,6 @@ int PC_EvaluateTokens(source_t *source, token_t *tokens, signed long int *intval
|
||||
else Log_Write("result value = %f", v1->floatvalue);
|
||||
#endif //DEBUG_EVAL
|
||||
if (error) break;
|
||||
lastoperatortype = o->operator;
|
||||
//if not an operator with arity 1
|
||||
if (o->operator != P_LOGIC_NOT
|
||||
&& o->operator != P_BIN_NOT)
|
||||
|
||||
Reference in new issue
Block a user