1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-31 06:00:54 +01:00

unposted: initialize save to NULL to avoid compiler warning.

This commit is contained in:
Clint Adams 2001-12-18 01:21:26 +00:00
parent 6feb3f57f4
commit 9cf6e76e7d
2 changed files with 4 additions and 1 deletions

View file

@ -1,5 +1,8 @@
2001-12-18 Clint Adams <clint@zsh.org>
* unposted: Src/builtin.c: initialize save to NULL to avoid
compiler warning.
* 16361: zshconfig.ac, Src/input.c:
include <stdio.h> to avoid implicit declarations.

View file

@ -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;