diff options
author | charnier <charnier@FreeBSD.org> | 2006-09-12 05:08:36 +0000 |
---|---|---|
committer | charnier <charnier@FreeBSD.org> | 2006-09-12 05:08:36 +0000 |
commit | d189165b4f2220c2d2c0ccdc80876af422bf5d8b (patch) | |
tree | cf2c640810530ec21f926f621e1fa9ca2bea9978 /usr.bin | |
parent | 63e89c05d2dd3463fdb87ade28334a74d7c6e6f0 (diff) | |
download | FreeBSD-src-d189165b4f2220c2d2c0ccdc80876af422bf5d8b.zip FreeBSD-src-d189165b4f2220c2d2c0ccdc80876af422bf5d8b.tar.gz |
WARNS=6 chocked on unitialized variable.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/paste/paste.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/paste/paste.c b/usr.bin/paste/paste.c index 683b120..6e3e553 100644 --- a/usr.bin/paste/paste.c +++ b/usr.bin/paste/paste.c @@ -140,7 +140,7 @@ parallel(char **argv) LIST *head, *tmp; int opencnt, output; - for (cnt = 0, head = NULL; (p = *argv); ++argv, ++cnt) { + for (cnt = 0, head = tmp = NULL; (p = *argv); ++argv, ++cnt) { if ((lp = malloc(sizeof(LIST))) == NULL) err(1, NULL); if (p[0] == '-' && !p[1]) |