remove unused variable; reported by Hans Insulander
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11034 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 1997 - 2001 Kungliga Tekniska H<>gskolan
|
* Copyright (c) 1997 - 2002 Kungliga Tekniska H<>gskolan
|
||||||
* (Royal Institute of Technology, Stockholm, Sweden).
|
* (Royal Institute of Technology, Stockholm, Sweden).
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
@@ -539,7 +539,6 @@ foreach_principal(const char *exp,
|
|||||||
|
|
||||||
#include <setjmp.h>
|
#include <setjmp.h>
|
||||||
|
|
||||||
static sig_atomic_t num_intrs;
|
|
||||||
static jmp_buf jmpbuf;
|
static jmp_buf jmpbuf;
|
||||||
|
|
||||||
static void
|
static void
|
||||||
@@ -554,7 +553,6 @@ get_response(const char *prompt, const char *def, char *buf, size_t len)
|
|||||||
char *p;
|
char *p;
|
||||||
void (*osig)(int);
|
void (*osig)(int);
|
||||||
|
|
||||||
num_intrs = 0;
|
|
||||||
osig = signal(SIGINT, interrupt);
|
osig = signal(SIGINT, interrupt);
|
||||||
if(setjmp(jmpbuf)) {
|
if(setjmp(jmpbuf)) {
|
||||||
signal(SIGINT, osig);
|
signal(SIGINT, osig);
|
||||||
|
Reference in New Issue
Block a user