Use NULL instead of 0 for pointers.
MFC after: 2 weeks.
This commit is contained in:
parent
f2ea2a2d5f
commit
26ac9660a4
@ -224,7 +224,7 @@ nextarg(OPTION *option, char ***argvp)
|
||||
{
|
||||
char *arg;
|
||||
|
||||
if ((arg = **argvp) == 0)
|
||||
if ((arg = **argvp) == NULL)
|
||||
errx(1, "%s: requires additional arguments", option->name);
|
||||
(*argvp)++;
|
||||
return arg;
|
||||
|
Loading…
Reference in New Issue
Block a user