about summary refs log tree commit diff
path: root/Src/builtin.c
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2001-12-18 01:21:26 +0000
committerClint Adams <clint@users.sourceforge.net>2001-12-18 01:21:26 +0000
commit9cf6e76e7d0e58c551c583540d71e5ca42a691c6 (patch)
tree5dd3dae39e32b1cf55186abc32575aa1f86d42dc /Src/builtin.c
parent6feb3f57f4c5524f2a047d76cbcd21e84cebfd27 (diff)
downloadzsh-9cf6e76e7d0e58c551c583540d71e5ca42a691c6.tar.gz
zsh-9cf6e76e7d0e58c551c583540d71e5ca42a691c6.tar.xz
zsh-9cf6e76e7d0e58c551c583540d71e5ca42a691c6.zip
unposted: initialize save to NULL to avoid compiler warning.
Diffstat (limited to 'Src/builtin.c')
-rw-r--r--Src/builtin.c2
1 files changed, 1 insertions, 1 deletions
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;