diff options
author | Warner Losh <imp@FreeBSD.org> | 2019-06-02 04:23:56 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2019-06-02 04:23:56 +0000 |
commit | 03ee4d05f1d963d60451e04ce505e4da116300db (patch) | |
tree | 9dcabc6cffafcb6b8195148feb519d575b0bf6ac /parse.c | |
parent | 3a4488f93f2dc8fe9de757a418b74aa0aa4f9ed1 (diff) |
Notes
Diffstat (limited to 'parse.c')
-rw-r--r-- | parse.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 != NULL; p = p->nnext, n++) + for (n = 0; p != 0; p = p->nnext, n++) if (strcmp(((Cell *)(p->narg[0]))->nval, s) == 0) return n; return -1; |