Skip to content

Commit 5732d10

Browse files
committed
quiet coverity. CID #1642987
1 parent 66e4d93 commit 5732d10

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/lib/util/dict_tokenize.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1240,6 +1240,10 @@ static int dict_read_process_attribute(dict_tokenize_ctx_t *dctx, char **argv, i
12401240
return -1;
12411241
}
12421242

1243+
#ifdef STATIC_ANALYZER
1244+
if (!dctx->dict) return -1;
1245+
#endif
1246+
12431247
/*
12441248
* A non-relative ATTRIBUTE definition means that it is
12451249
* in the context of the previous BEGIN-FOO. So we
@@ -1338,10 +1342,6 @@ static int dict_read_process_attribute(dict_tokenize_ctx_t *dctx, char **argv, i
13381342
}
13391343
#endif
13401344

1341-
#ifdef STATIC_ANALYZER
1342-
if (!dctx->dict) return -1;
1343-
#endif
1344-
13451345
/*
13461346
* Set the attribute name
13471347
*/

0 commit comments

Comments
 (0)