Date: Sat, 3 Oct 2015 20:24:23 +0000 (UTC) From: Bryan Drewery <bdrewery@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r288630 - head/bin/cat Message-ID: <201510032024.t93KONg5097769@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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";
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510032024.t93KONg5097769>