Mercurial > hg > batmud > maputils
changeset 2167:02cd710e738c
Remove useless NULL checks.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 12 Oct 2019 18:00:08 +0300 |
parents | 9eacd101a9df |
children | 7dbe40aac3ec |
files | mkcitymap.c |
diffstat | 1 files changed, 0 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/mkcitymap.c Fri Oct 11 08:06:39 2019 +0300 +++ b/mkcitymap.c Sat Oct 12 18:00:08 2019 +0300 @@ -133,7 +133,6 @@ fprintf(outFile, "<td>\n"); for (int n = start; n <= end; n++) - if (locs->locations[n] != NULL) { const LocMarker *marker = locs->locations[n]; if (marker->flags & LOCF_INVIS) continue; @@ -277,7 +276,6 @@ ); for (num = n = 0; n < locs->nlocations; n++) - if (locs->locations[n] != NULL) { const LocMarker *marker = locs->locations[n]; if ((marker->flags & LOCF_INVIS) == 0) @@ -303,7 +301,6 @@ } for (n = 0; n < locs->nlocations; n++) - if (locs->locations[n] != NULL) { const LocMarker *marker = locs->locations[n]; if (marker->flags & LOCF_INVIS) continue;