about summary refs log tree commit diff
path: root/Src/init.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@users.sourceforge.net>2004-06-02 22:14:25 +0000
committerWayne Davison <wayned@users.sourceforge.net>2004-06-02 22:14:25 +0000
commitfb0937a69eb38e744577aa94a6338135f6c1c9b4 (patch)
tree70c7404736602da0e91710dc3a991e3d2dc5377a /Src/init.c
parent30a139fe894f76ad256281b60a36c693bc561245 (diff)
downloadzsh-fb0937a69eb38e744577aa94a6338135f6c1c9b4.tar.gz
zsh-fb0937a69eb38e744577aa94a6338135f6c1c9b4.tar.xz
zsh-fb0937a69eb38e744577aa94a6338135f6c1c9b4.zip
Marked unused parameters with the new UNUSED() macro.
Diffstat (limited to 'Src/init.c')
-rw-r--r--Src/init.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Src/init.c b/Src/init.c
index 9591671da..60e7d3609 100644
--- a/Src/init.c
+++ b/Src/init.c
@@ -1108,7 +1108,7 @@ noop_function(void)
 
 /**/
 mod_export void
-noop_function_int(int nothing)
+noop_function_int(UNUSED(int nothing))
 {
     /* do nothing */
 }
@@ -1158,7 +1158,7 @@ autoload_zleread(char *lp, char *rp, int ha, int con)
 
 /**/
 mod_export unsigned char *
-fallback_zleread(char *lp, char *rp, int ha, int con)
+fallback_zleread(char *lp, UNUSED(char *rp), UNUSED(int ha), UNUSED(int con))
 {
     char *pptbuf;
     int pptlen;
@@ -1187,7 +1187,7 @@ mod_export CompctlReadFn compctlreadptr = fallback_compctlread;
 
 /**/
 mod_export int
-fallback_compctlread(char *name, char **args, Options ops, char *reply)
+fallback_compctlread(char *name, UNUSED(char **args), UNUSED(Options ops), UNUSED(char *reply))
 {
     zwarnnam(name, "option valid only in functions called from completion",
 	    NULL, 0);
@@ -1201,7 +1201,7 @@ fallback_compctlread(char *name, char **args, Options ops, char *reply)
 
 /**/
 mod_export int
-zsh_main(int argc, char **argv)
+zsh_main(UNUSED(int argc), char **argv)
 {
     char **t;
     int t0;