Fix a few warnings
This commit is contained in:
parent
c621589157
commit
621a72e698
18 changed files with 76 additions and 74 deletions
|
@ -2086,9 +2086,12 @@ int PC_EvaluateTokens(source_t *source, token_t *tokens, signed long int *intval
|
|||
//remove the second value if not question mark operator
|
||||
if (o->operator != P_QUESTIONMARK) v = v->next;
|
||||
//
|
||||
if (v->prev) v->prev->next = v->next;
|
||||
else firstvalue = v->next;
|
||||
if (v->next) v->next->prev = v->prev;
|
||||
if (v)
|
||||
{
|
||||
if (v->prev) v->prev->next = v->next;
|
||||
else firstvalue = v->next;
|
||||
if (v->next) v->next->prev = v->prev;
|
||||
}
|
||||
//FreeMemory(v);
|
||||
FreeValue(v);
|
||||
} //end if
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue