summaryrefslogtreecommitdiff
path: root/usr.bin/fgen
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2020-09-03 04:19:54 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2020-09-03 04:19:54 +0000
commit55e492d4547f22b2e0081d07091a376aeaad9ee3 (patch)
tree1ec584c94b6156bdaeb36f1e9d71b59b49a096ce /usr.bin/fgen
parent72af4ee735ee66638dcdcd80779cd22ff7d13962 (diff)
Switch use of '\0' to NULL
Fix a clang 10 warning about comparing a pointer to a null character. The condition "if ((s = symnam[i]) == '\0')" used to be "if (s = symnam[i])" and the incorrect spelling of NULL was chosen in a -Wall cleanup 19 years ago (-r 1.6). Upstream uses a naked 0 instead of NULL, so does NetBSD. ok martijn millert
Diffstat (limited to 'usr.bin/fgen')
0 files changed, 0 insertions, 0 deletions