Added parentheses around some assignments (where they're meant to assign instead of compare in an if statement) which GCC was giving this warning "warning: suggest parentheses around assignment used as truth value"
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3803 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
d33090b7ee
commit
fc421a05bc
3 changed files with 8 additions and 8 deletions
|
@ -695,11 +695,11 @@ qboolean CL_CheckHLBspWads(char *file)
|
|||
if (!strcmp(key, "wad"))
|
||||
{
|
||||
s = wads;
|
||||
while (s = COM_ParseToken(s, ";"))
|
||||
while ((s = COM_ParseToken(s, ";")))
|
||||
{
|
||||
if (!strcmp(com_token, ";"))
|
||||
continue;
|
||||
while (w = strchr(com_token, '\\'))
|
||||
while ((w = strchr(com_token, '\\')))
|
||||
*w = '/';
|
||||
w = COM_SkipPath(com_token);
|
||||
Con_Printf("wads: %s\n", w);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue