about summary refs log tree commit diff
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2001-12-18 01:24:23 +0000
committerClint Adams <clint@users.sourceforge.net>2001-12-18 01:24:23 +0000
commit0db3827ce271b3d334d1c040636e144ca5cf9fa1 (patch)
treedbbc3b734a580eb44a3cb08d74570f73122f564e
parent9cf6e76e7d0e58c551c583540d71e5ca42a691c6 (diff)
downloadzsh-0db3827ce271b3d334d1c040636e144ca5cf9fa1.tar.gz
zsh-0db3827ce271b3d334d1c040636e144ca5cf9fa1.tar.xz
zsh-0db3827ce271b3d334d1c040636e144ca5cf9fa1.zip
unposted: back out idiotic patch
-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;