about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Src/builtin.c2
2 files changed, 1 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 6e6f2a1d0..5b810847a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,8 +1,5 @@
 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.
 
diff --git a/Src/builtin.c b/Src/builtin.c
index f54d9587c..0a399e068 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 = NULL, nullstr = '\0';
+    char **first, *curarg, *flagch = "0+- #", save, nullstr = '\0';
     zlong count;
     FILE *fout = stdout;