Use NULL instead of 0 for pointers.

MFC after:	2 weeks.
This commit is contained in:
Marcelo Araujo 2016-04-18 07:05:18 +00:00
parent f2ea2a2d5f
commit 26ac9660a4

View File

@ -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;