Skip to content

Commit

Permalink
maptemplate.c: remove useless nullptr check (CID 1174444)
Browse files Browse the repository at this point in the history
  • Loading branch information
rouault committed May 22, 2021
1 parent a3105dc commit a70e199
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion maptemplate.c
Expand Up @@ -719,7 +719,7 @@ int processIfTag(char **pszInstr, hashTableObj *ht, int bLastPass)
pszPatIn = findTag(pszTmp+1, "if");
pszPatOut = strstr(pszTmp+1, "[/if]");

} while (pszTmp != NULL && nInst > 0);
} while (nInst > 0);

/* get the then string (if expression is true) */
if(getInlineTag("if", pszStart, &pszThen) != MS_SUCCESS) {
Expand Down

0 comments on commit a70e199

Please sign in to comment.