From 9afb67eb6561e922fae29e7227a58517f73ad050 Mon Sep 17 00:00:00 2001 From: "Barton E. Schaefer" Date: Fri, 29 Apr 2016 13:15:33 -0700 Subject: unposted: silence spurious compiler warning --- ChangeLog | 2 ++ Src/builtin.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 8f98a7cd5..190646841 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2016-04-29 Barton E. Schaefer + * unposted: Src/builtin.c: silence spurious compiler warning + * 38358: Test/C02cond.ztst: "fgrep --" for noatime check in case a mount point is named "-" as in Fedora mock environment diff --git a/Src/builtin.c b/Src/builtin.c index ad01ad4f1..6f07fc678 100644 --- a/Src/builtin.c +++ b/Src/builtin.c @@ -4048,7 +4048,7 @@ bin_print(char *name, char **args, Options ops, int func) int flags[6], *len; char *start, *endptr, *c, *d, *flag, *buf = NULL, spec[14], *fmt = NULL; char **first, **argp, *curarg, *flagch = "'0+- #", save = '\0', nullstr = '\0'; - size_t rcount, count = 0; + size_t rcount = 0, count = 0; FILE *fout = stdout; #ifdef HAVE_OPEN_MEMSTREAM size_t mcount; -- cgit 1.4.1