diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2015-10-03 20:24:23 +0000 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2015-10-03 20:24:23 +0000 |
commit | 6e60c5239c75345585365511a390492e8a0846a9 (patch) | |
tree | 32967299b28863551fb594fc36a09bbd50d15ed3 /bin | |
parent | c4aef72c066fae76d14e918cd85becca629c0895 (diff) | |
download | FreeBSD-src-6e60c5239c75345585365511a390492e8a0846a9.zip FreeBSD-src-6e60c5239c75345585365511a390492e8a0846a9.tar.gz |
Make GCC happy
Diffstat (limited to 'bin')
-rw-r--r-- | bin/cat/cat.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/cat/cat.c b/bin/cat/cat.c index c90652c..e7d3864 100644 --- a/bin/cat/cat.c +++ b/bin/cat/cat.c @@ -168,6 +168,7 @@ scanfiles(char *argv[], int cooked) FILE *fp; i = 0; + fd = -1; while ((path = argv[i]) != NULL || i == 0) { if (path == NULL || strcmp(path, "-") == 0) { filename = "stdin"; |