summaryrefslogtreecommitdiffstats
path: root/usr.bin/paste
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>2006-09-12 05:08:36 +0000
committercharnier <charnier@FreeBSD.org>2006-09-12 05:08:36 +0000
commitd189165b4f2220c2d2c0ccdc80876af422bf5d8b (patch)
treecf2c640810530ec21f926f621e1fa9ca2bea9978 /usr.bin/paste
parent63e89c05d2dd3463fdb87ade28334a74d7c6e6f0 (diff)
downloadFreeBSD-src-d189165b4f2220c2d2c0ccdc80876af422bf5d8b.zip
FreeBSD-src-d189165b4f2220c2d2c0ccdc80876af422bf5d8b.tar.gz
WARNS=6 chocked on unitialized variable.
Diffstat (limited to 'usr.bin/paste')
-rw-r--r--usr.bin/paste/paste.c2
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])
OpenPOWER on IntegriCloud