Author: bdrewery
Date: Sat Oct  3 20:24:23 2015
New Revision: 288630
URL: https://svnweb.freebsd.org/changeset/base/288630

Log:
  Make GCC happy

Modified:
  head/bin/cat/cat.c

Modified: head/bin/cat/cat.c
==============================================================================
--- head/bin/cat/cat.c  Sat Oct  3 20:06:50 2015        (r288629)
+++ head/bin/cat/cat.c  Sat Oct  3 20:24:23 2015        (r288630)
@@ -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";
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to