From 9cf6e76e7d0e58c551c583540d71e5ca42a691c6 Mon Sep 17 00:00:00 2001 From: Clint Adams Date: Tue, 18 Dec 2001 01:21:26 +0000 Subject: unposted: initialize save to NULL to avoid compiler warning. --- ChangeLog | 3 +++ Src/builtin.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 5b810847a..6e6f2a1d0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2001-12-18 Clint Adams + * unposted: Src/builtin.c: initialize save to NULL to avoid + compiler warning. + * 16361: zshconfig.ac, Src/input.c: include to avoid implicit declarations. diff --git a/Src/builtin.c b/Src/builtin.c index 0a399e068..f54d9587c 100644 --- a/Src/builtin.c +++ b/Src/builtin.c @@ -2896,7 +2896,7 @@ bin_print(char *name, char **args, char *ops, int func) int nnl = 0, ret = 0, maxarg = 0; int flags[5], *len; char *start, *endptr, *c, *d, *flag, spec[11], *fmt = NULL; - char **first, *curarg, *flagch = "0+- #", save, nullstr = '\0'; + char **first, *curarg, *flagch = "0+- #", save = NULL, nullstr = '\0'; zlong count; FILE *fout = stdout; -- cgit v1.2.3