summary refs log tree commit diff
path: root/Src/Zle
diff options
context:
space:
mode:
authorWayne Davison <wayned@users.sourceforge.net>2006-05-30 21:21:07 +0000
committerWayne Davison <wayned@users.sourceforge.net>2006-05-30 21:21:07 +0000
commitfd240e09b05ca15aa1deef35733124b6852fe809 (patch)
tree0d282fc4c81a5f02334301e331ffcf8596a8cc60 /Src/Zle
parent2a90661e24f60e079fcc19b584dfbbd8a0181431 (diff)
downloadzsh-fd240e09b05ca15aa1deef35733124b6852fe809.tar.gz
zsh-fd240e09b05ca15aa1deef35733124b6852fe809.tar.xz
zsh-fd240e09b05ca15aa1deef35733124b6852fe809.zip
Made implied "int" on new static variable explicit (which silences
gcc).
Diffstat (limited to 'Src/Zle')
-rw-r--r--Src/Zle/zle_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Zle/zle_main.c b/Src/Zle/zle_main.c
index 5751d5329..6ba1fbab6 100644
--- a/Src/Zle/zle_main.c
+++ b/Src/Zle/zle_main.c
@@ -1509,7 +1509,7 @@ recursiveedit(UNUSED(char **args))
 void
 reexpandprompt(void)
 {
-    static reexpanding;
+    static int reexpanding;
 
     if (!reexpanding++) {
 	free(lpromptbuf);