diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2020-09-03 04:19:54 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2020-09-03 04:19:54 +0000 |
commit | 55e492d4547f22b2e0081d07091a376aeaad9ee3 (patch) | |
tree | 1ec584c94b6156bdaeb36f1e9d71b59b49a096ce /usr.bin/uuencode/uuencode.1 | |
parent | 72af4ee735ee66638dcdcd80779cd22ff7d13962 (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/uuencode/uuencode.1')
0 files changed, 0 insertions, 0 deletions