From efd3baf2a2dd09c162c37ad1d6ea71a45620fb7f Mon Sep 17 00:00:00 2001 From: "Barton E. Schaefer" Date: Sat, 10 Dec 2016 19:13:53 -0800 Subject: 40134: silence spurious compiler warnings. --- Src/Zle/compmatch.c | 2 +- Src/builtin.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'Src') diff --git a/Src/Zle/compmatch.c b/Src/Zle/compmatch.c index f82f00e1d..aedf463fc 100644 --- a/Src/Zle/compmatch.c +++ b/Src/Zle/compmatch.c @@ -674,7 +674,7 @@ match_str(char *l, char *w, Brinfo *bpp, int bc, int *rwlp, * * operation. Similar to savw. */ - char savl; + char savl = 0; /* * The anchor on this end. */ diff --git a/Src/builtin.c b/Src/builtin.c index e641a97a1..65e0cb10b 100644 --- a/Src/builtin.c +++ b/Src/builtin.c @@ -4092,7 +4092,7 @@ bin_print(char *name, char **args, Options ops, int func) 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 = 0, count = 0; - size_t *cursplit, *splits = 0; + size_t *cursplit = 0, *splits = 0; FILE *fout = stdout; #ifdef HAVE_OPEN_MEMSTREAM size_t mcount; -- cgit 1.4.1