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:
Bowon Ryu 2016-06-02 20:17:18 +09:00 committed by Jaehyun Cho
parent 8ceeb8b113
commit 6371a5d930
1 changed files with 4 additions and 2 deletions

View File

@ -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