about summary refs log tree commit diff
path: root/Src/Zle/compcore.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/compcore.c
parentc31caeb0869803e226cf5ad6669635c2ebafd429 (diff)
downloadzsh-962624e8c343e3968fbb55160b8a14b460400bc0.tar.gz
zsh-962624e8c343e3968fbb55160b8a14b460400bc0.tar.xz
zsh-962624e8c343e3968fbb55160b8a14b460400bc0.zip
29491: remove some variables set but not used
Diffstat (limited to 'Src/Zle/compcore.c')
-rw-r--r--Src/Zle/compcore.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/Src/Zle/compcore.c b/Src/Zle/compcore.c
index 0a1a97c3d..2e2749835 100644
--- a/Src/Zle/compcore.c
+++ b/Src/Zle/compcore.c
@@ -1477,7 +1477,7 @@ set_comp_sep(void)
      *      when stripping single quotes: 1 for RCQUOTES, 3 otherwise
      *      (because we leave a "'" in the final string).
      */
-    int dq = 0, odq, sq = 0, osq, qttype, sqq = 0, lsq = 0, qa = 0;
+    int dq = 0, odq, sq = 0, qttype, sqq = 0, lsq = 0, qa = 0;
     /* dolq: like sq and dq but for dollars quoting. */
     int dolq = 0;
     /* remember some global variable values (except lp is local) */
@@ -1582,7 +1582,6 @@ set_comp_sep(void)
 
     }
     odq = dq;
-    osq = sq;
     inpush(dupstrspace(tmp), 0, NULL);
     zlemetaline = tmp;
     /*
@@ -3306,7 +3305,7 @@ dupmatch(Cmatch m, int nbeg, int nend)
 mod_export int
 permmatches(int last)
 {
-    Cmgroup g = amatches, n, opm;
+    Cmgroup g = amatches, n;
     Cmatch *p, *q;
     Cexpl *ep, *eq, e, o;
     LinkList mlist;
@@ -3320,7 +3319,6 @@ permmatches(int last)
     }
     newmatches = fi = 0;
 
-    opm = pmatches;
     pmatches = lmatches = NULL;
     nmatches = smatches = diffmatches = 0;