mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-12-15 20:51:27 +01:00
unposted: initialize save to NULL to avoid compiler warning.
This commit is contained in:
parent
6feb3f57f4
commit
9cf6e76e7d
2 changed files with 4 additions and 1 deletions
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue