summaryrefslogtreecommitdiff
path: root/parse.c
diff options
context:
space:
mode:
authorPedro F. Giffuni <pfg@FreeBSD.org>2016-05-29 16:18:55 +0000
committerPedro F. Giffuni <pfg@FreeBSD.org>2016-05-29 16:18:55 +0000
commit7fdcc31daa59b2567e23779649e3fb8de2924c2c (patch)
tree6a49eedb5877b291862e7ef375d92b48163807ab /parse.c
parentc323c12cd8cea3384b83ddef0592138f8eccbe70 (diff)
Notes
Diffstat (limited to 'parse.c')
-rw-r--r--parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse.c b/parse.c
index 8304ded837ba..753a50def1fb 100644
--- a/parse.c
+++ b/parse.c
@@ -259,7 +259,7 @@ int isarg(const char *s) /* is s in argument list for current function? */
Node *p = arglist;
int n;
- for (n = 0; p != 0; p = p->nnext, n++)
+ for (n = 0; p != NULL; p = p->nnext, n++)
if (strcmp(((Cell *)(p->narg[0]))->nval, s) == 0)
return n;
return -1;