summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--Src/builtin.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 8f98a7cd5..190646841 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2016-04-29 Barton E. Schaefer <schaefer@zsh.org>
+ * 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;