forked from enlightenment/enventor
edc_navigator: fix evaluation order
Summary: fix static analyzer warning Reviewers: Hermet, Jaehyun_Cho Reviewed By: Jaehyun_Cho Differential Revision: https://phab.enlightenment.org/D4008
This commit is contained in:
parent
8ceeb8b113
commit
6371a5d930
|
@ -7,13 +7,15 @@
|
|||
#define PROGRAM_IDX (IDX_MAX - 1)
|
||||
|
||||
#define ESCAPE_GOTO_END() \
|
||||
p = strstr(++p, "\""); \
|
||||
p++; \
|
||||
p = strstr(p, "\""); \
|
||||
if (!p) goto end; \
|
||||
p++; \
|
||||
continue
|
||||
|
||||
#define ESCAPE_RET_NULL() \
|
||||
p = strstr(++p, "\""); \
|
||||
p++; \
|
||||
p = strstr(p, "\""); \
|
||||
if (!p) return NULL; \
|
||||
p++; \
|
||||
continue
|
||||
|
|
Loading…
Reference in New Issue