about summary refs log tree commit diff
diff options
context:
space:
mode:
-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;