about summary refs log tree commit diff
path: root/Src/signals.c
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2000-04-30 17:09:08 +0000
committerBart Schaefer <barts@users.sourceforge.net>2000-04-30 17:09:08 +0000
commit3e43e5099282927fad9844f106b1cd8a361be03c (patch)
tree9bef1be21f30b5a8bdc5d36b216c6238af1b7224 /Src/signals.c
parent04c1d78c5ade0eb7ee0bfbf5f0cc43f303049b79 (diff)
downloadzsh-3e43e5099282927fad9844f106b1cd8a361be03c.tar.gz
zsh-3e43e5099282927fad9844f106b1cd8a361be03c.tar.xz
zsh-3e43e5099282927fad9844f106b1cd8a361be03c.zip
11029: Some missing bits of merging 11015 with 11026.
Diffstat (limited to 'Src/signals.c')
-rw-r--r--Src/signals.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/Src/signals.c b/Src/signals.c
index e93030002..b8e06d444 100644
--- a/Src/signals.c
+++ b/Src/signals.c
@@ -674,7 +674,6 @@ dosavetrap(int sig, int level)
     } else {
 	st->list = sigfuncs[sig] ? dupeprog(sigfuncs[sig], 0) : NULL;
     }
-    noerrs = !!st->list;
     if (!savetraps)
 	savetraps = znewlinklist();
     /*
@@ -731,9 +730,7 @@ settrap(int sig, Eprog l)
 void
 unsettrap(int sig)
 {
-    int ne = noerrs;
     HashNode hn = removetrap(sig);
-    noerrs = ne;
     if (hn)
 	shfunctab->freenode(hn);
 }