about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorWayne Davison <wayned@users.sourceforge.net>2011-04-15 14:56:53 +0000
committerWayne Davison <wayned@users.sourceforge.net>2011-04-15 14:56:53 +0000
commitc06f5b455607b4192ccf331b714603393ceee707 (patch)
tree447de89760c919f7de9dfc72a170b26a0be17799 /Src
parentfe5109bc439b9e84e359836c086a6f3cdc8ec4b8 (diff)
downloadzsh-c06f5b455607b4192ccf331b714603393ceee707.tar.gz
zsh-c06f5b455607b4192ccf331b714603393ceee707.tar.xz
zsh-c06f5b455607b4192ccf331b714603393ceee707.zip
Fix compiler warning due to state.doff duplication.
Diffstat (limited to 'Src')
-rw-r--r--Src/Zle/computil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Zle/computil.c b/Src/Zle/computil.c
index 7c5bc2181..0cc9d7400 100644
--- a/Src/Zle/computil.c
+++ b/Src/Zle/computil.c
@@ -1904,7 +1904,7 @@ ca_parse_line(Cadef d, int multi, int first)
     state.argbeg = state.optbeg = state.nargbeg = state.restbeg = state.actopts =
 	state.nth = state.inopt = state.inarg = state.opt = state.arg = 1;
     state.argend = argend = arrlen(compwords) - 1;
-    state.inrest = state.doff = state.singles = state.doff = state.oopt = 0;
+    state.inrest = state.doff = state.singles = state.oopt = 0;
     state.curpos = compcurrent;
     state.args = znewlinklist();
     state.oargs = (LinkList *) zalloc(d->nopts * sizeof(LinkList));