summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhin <hin@openbsd.org>2002-06-07 18:31:44 +0000
committerhin <hin@openbsd.org>2002-06-07 18:31:44 +0000
commit19754023c45e93eefe89cdd4a78a0272bc2e0824 (patch)
tree40abdc02e09186f1f256c714c58d61861e1e6e7a
parentThere is absolutely no need to protect a reference to mono_time.tv_sec with splclock. (diff)
downloadwireguard-openbsd-19754023c45e93eefe89cdd4a78a0272bc2e0824.tar.xz
wireguard-openbsd-19754023c45e93eefe89cdd4a78a0272bc2e0824.zip
Remove an unused variable.
Spotted by deraadt@, synced with the Heimdal people.
-rw-r--r--kerberosV/src/kadmin/util.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/kerberosV/src/kadmin/util.c b/kerberosV/src/kadmin/util.c
index aed6436ba97..677600c9ccb 100644
--- a/kerberosV/src/kadmin/util.c
+++ b/kerberosV/src/kadmin/util.c
@@ -539,7 +539,6 @@ foreach_principal(const char *exp,
#include <setjmp.h>
-static volatile sig_atomic_t num_intrs;
static jmp_buf jmpbuf;
static void
@@ -554,7 +553,6 @@ get_response(const char *prompt, const char *def, char *buf, size_t len)
char *p;
void (*osig)(int);
- num_intrs = 0;
osig = signal(SIGINT, interrupt);
if(setjmp(jmpbuf)) {
signal(SIGINT, osig);