about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2007-12-17 18:34:25 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2007-12-17 18:34:25 +0000
commitac33044bd2a99a0dd70784e98d89992737f44e98 (patch)
tree693b0fd1d1f500cf2313404796f2f055c8ba99a8
parent20607774dc14faaa514623ef2a2f666911aa8b66 (diff)
downloadzsh-ac33044bd2a99a0dd70784e98d89992737f44e98.tar.gz
zsh-ac33044bd2a99a0dd70784e98d89992737f44e98.tar.xz
zsh-ac33044bd2a99a0dd70784e98d89992737f44e98.zip
unposted: suppress harmless warning
-rw-r--r--ChangeLog2
-rw-r--r--Src/utils.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 11d8293fd..61bbe551c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2007-12-17  Peter Stephenson  <pws@csr.com>
 
+	* unposted: Src/utils.c: suppress harmless warning.
+
 	* 24275: Src/builtin.c, Src/Zle/zle_utils.c,
 	Test/D07multibyte.ztst: Solaris returns the full character
 	length from mbrlen() etc. even if the call started in the
diff --git a/Src/utils.c b/Src/utils.c
index 8a58c5ea8..85646d827 100644
--- a/Src/utils.c
+++ b/Src/utils.c
@@ -4653,7 +4653,7 @@ mod_export char *
 getkeystring(char *s, int *len, int how, int *misc)
 {
     char *buf, tmp[1];
-    char *t, *tdest = NULL, *u = NULL, *sstart = s, *tbuf;
+    char *t, *tdest = NULL, *u = NULL, *sstart = s, *tbuf = NULL;
     char svchar = '\0';
     int meta = 0, control = 0;
     int i;