forked from enlightenment/efl
embryo_cc - fix symbol write
this fixes an actual bug coverity found in embryo_cc fix CID 1039650
This commit is contained in:
parent
ec3c84b61e
commit
0040e00373
|
@ -371,7 +371,7 @@ do_symbol(FILE * fbin, char *params, cell opcode)
|
|||
int len;
|
||||
unsigned char mclass, type;
|
||||
|
||||
for (endptr = params; !sc_isspace(*endptr) && endptr != '\0'; endptr++)
|
||||
for (endptr = params; (!sc_isspace(*endptr)) && (*endptr != '\0'); endptr++)
|
||||
/* nothing */ ;
|
||||
assert(*endptr == ' ');
|
||||
|
||||
|
|
Loading…
Reference in New Issue