summaryrefslogtreecommitdiff
path: root/navit/main.c
diff options
context:
space:
mode:
authorBastian Koppelmann <kbastian@mail.uni-paderborn.de>2022-08-30 11:46:08 +0200
committerBastian Koppelmann <kbastian@mail.uni-paderborn.de>2022-08-30 13:15:41 +0200
commitc57bc8d8c3026ca069c3e7e54e0f29469d0312af (patch)
treede2bd08e180b7c4909ed34049434a47e122c45de /navit/main.c
parent0338c1f696e01cd89c26ea7854cfc110c283f069 (diff)
downloadnavit-c57bc8d8c3026ca069c3e7e54e0f29469d0312af.tar.gz
fix:navit: Fix -Waddress warning
since 'lastline[]' is stack-allocated it can never be NULL, thus we don't need to check for that. This fixes the following compiler warning: warning: the comparison will always evaluate as ‘true’ for the address of ‘lastline’ will never be NULL [-Waddress] 1809 | if ((lastline != NULL) && (strcmp(lastline, TEXTFILE_COMMENT_NAVI_STOPPED))) {
Diffstat (limited to 'navit/main.c')
0 files changed, 0 insertions, 0 deletions