diff options
author | Wayne Davison <wayned@users.sourceforge.net> | 2004-06-02 22:14:25 +0000 |
---|---|---|
committer | Wayne Davison <wayned@users.sourceforge.net> | 2004-06-02 22:14:25 +0000 |
commit | fb0937a69eb38e744577aa94a6338135f6c1c9b4 (patch) | |
tree | 70c7404736602da0e91710dc3a991e3d2dc5377a /Src/Zle/zleparameter.c | |
parent | 30a139fe894f76ad256281b60a36c693bc561245 (diff) | |
download | zsh-fb0937a69eb38e744577aa94a6338135f6c1c9b4.tar.gz zsh-fb0937a69eb38e744577aa94a6338135f6c1c9b4.tar.xz zsh-fb0937a69eb38e744577aa94a6338135f6c1c9b4.zip |
Marked unused parameters with the new UNUSED() macro.
Diffstat (limited to 'Src/Zle/zleparameter.c')
-rw-r--r-- | Src/Zle/zleparameter.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Src/Zle/zleparameter.c b/Src/Zle/zleparameter.c index cce421897..38b2a3608 100644 --- a/Src/Zle/zleparameter.c +++ b/Src/Zle/zleparameter.c @@ -96,7 +96,7 @@ widgetstr(Widget w) /**/ static HashNode -getpmwidgets(HashTable ht, char *name) +getpmwidgets(UNUSED(HashTable ht), char *name) { Param pm = NULL; Thingy th; @@ -124,7 +124,7 @@ getpmwidgets(HashTable ht, char *name) /**/ static void -scanpmwidgets(HashTable ht, ScanFunc func, int flags) +scanpmwidgets(UNUSED(HashTable ht), ScanFunc func, int flags) { struct param pm; int i; @@ -154,7 +154,7 @@ scanpmwidgets(HashTable ht, ScanFunc func, int flags) /* Functions for the zlekeymaps special parameter. */ static char ** -keymapsgetfn(Param pm) +keymapsgetfn(UNUSED(Param pm)) { int i; HashNode hn; @@ -196,14 +196,14 @@ static struct pardef partab[] = { /**/ int -setup_(Module m) +setup_(UNUSED(Module m)) { return 0; } /**/ int -boot_(Module m) +boot_(UNUSED(Module m)) { struct pardef *def; @@ -230,7 +230,7 @@ boot_(Module m) /**/ int -cleanup_(Module m) +cleanup_(UNUSED(Module m)) { Param pm; struct pardef *def; @@ -247,7 +247,7 @@ cleanup_(Module m) /**/ int -finish_(Module m) +finish_(UNUSED(Module m)) { return 0; } |