summaryrefslogtreecommitdiff
path: root/Src/Zle/complist.c
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2011-06-19 16:26:10 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2011-06-19 16:26:10 +0000
commit962624e8c343e3968fbb55160b8a14b460400bc0 (patch)
treed3d7441133e679a6dd61d61d5b128379691fa9bf /Src/Zle/complist.c
parentc31caeb0869803e226cf5ad6669635c2ebafd429 (diff)
downloadzsh-962624e8c343e3968fbb55160b8a14b460400bc0.tar.gz
zsh-962624e8c343e3968fbb55160b8a14b460400bc0.zip
29491: remove some variables set but not used
Diffstat (limited to 'Src/Zle/complist.c')
-rw-r--r--Src/Zle/complist.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/Src/Zle/complist.c b/Src/Zle/complist.c
index fdca7a99f..c9c0c2dd4 100644
--- a/Src/Zle/complist.c
+++ b/Src/Zle/complist.c
@@ -1369,8 +1369,6 @@ compprintlist(int showall)
}
#endif
if ((e = g->expls)) {
- int l;
-
if (!lastused && lasttype == 1) {
e = lastexpl;
ml = lastml;
@@ -1393,9 +1391,9 @@ compprintlist(int showall)
}
if (mlbeg < 0 && mfirstl < 0)
mfirstl = ml;
- l = compprintfmt((*e)->str,
- ((*e)->always ? -1 : (*e)->count),
- dolist(ml), 1, ml, &stop);
+ (void)compprintfmt((*e)->str,
+ ((*e)->always ? -1 : (*e)->count),
+ dolist(ml), 1, ml, &stop);
if (mselect >= 0) {
int mm = (mcols * ml), i;