diff options
| author | pfg <pfg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f> | 2016-06-03 21:23:11 +0000 |
|---|---|---|
| committer | Arnold D. Robbins <arnold@skeeve.com> | 2019-07-16 22:11:57 +0300 |
| commit | 524219409a5b235041353da32d9965ec96be1cd7 (patch) | |
| tree | 1679fbeca6717e7a96708070702f3be1e63590e8 /parse.c | |
| parent | b8e082709501405ec15071dfd1508f52d6985072 (diff) | |
| download | platform_external_one-true-awk-524219409a5b235041353da32d9965ec96be1cd7.tar.gz platform_external_one-true-awk-524219409a5b235041353da32d9965ec96be1cd7.tar.bz2 platform_external_one-true-awk-524219409a5b235041353da32d9965ec96be1cd7.zip | |
MFV r300961: one-true-awk: replace 0 with NULL for pointers
Also remove a redundant semicolon.
Also had to rebase on upstream pull.
git-svn-id: svn+ssh://svn.freebsd.org/base/head@301289 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
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 != 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; |
