summary refs log tree commit diff
path: root/Src/utils.c
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2000-11-29 08:04:28 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2000-11-29 08:04:28 +0000
commit4b1191e209edecb5949b30038f310350e44273d3 (patch)
tree343e6b2e1da96a47bbf6faddf33267cfe8a4623d /Src/utils.c
parent29f0d4d00f2f93efc4f809dfb9cefb94a58338be (diff)
downloadzsh-4b1191e209edecb5949b30038f310350e44273d3.tar.gz
zsh-4b1191e209edecb5949b30038f310350e44273d3.tar.xz
zsh-4b1191e209edecb5949b30038f310350e44273d3.zip
avoid compiler warning
Diffstat (limited to 'Src/utils.c')
-rw-r--r--Src/utils.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Src/utils.c b/Src/utils.c
index e61e84a03..11908435c 100644
--- a/Src/utils.c
+++ b/Src/utils.c
@@ -1460,7 +1460,8 @@ read1char(void)
 mod_export int
 noquery(int purge)
 {
-    int c, val = 0;
+    int val = 0;
+    char c;
 
 #ifdef FIONREAD
     ioctl(SHTTY, FIONREAD, (char *)&val);