projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff86d3d
)
Avoid unused variable warnings.
author
Dr. Stephen Henson
<steve@openssl.org>
Mon, 26 Sep 2005 02:40:18 +0000
(
02:40
+0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Mon, 26 Sep 2005 02:40:18 +0000
(
02:40
+0000)
crypto/ui/ui_openssl.c
patch
|
blob
|
history
diff --git
a/crypto/ui/ui_openssl.c
b/crypto/ui/ui_openssl.c
index f186a714dc6ca8571303e12caf745dbc4029af6c..1f23a45a339bc018eb27cb501076e5440f9bb536 100644
(file)
--- a/
crypto/ui/ui_openssl.c
+++ b/
crypto/ui/ui_openssl.c
@@
-578,7
+578,9
@@
static int close_console(UI *ui)
/* Internal functions to handle signals and act on them */
static void pushsig(void)
{
+#ifndef OPENSSL_SYS_WIN32
int i;
+#endif
#ifdef SIGACTION
struct sigaction sa;
@@
-623,8
+625,6
@@
static void pushsig(void)
static void popsig(void)
{
- int i;
-
#ifdef OPENSSL_SYS_WIN32
signal(SIGABRT,savsig[SIGABRT]);
signal(SIGFPE,savsig[SIGFPE]);
@@
-633,6
+633,7
@@
static void popsig(void)
signal(SIGSEGV,savsig[SIGSEGV]);
signal(SIGTERM,savsig[SIGTERM]);
#else
+ int i;
for (i=1; i<NX509_SIG; i++)
{
#ifdef SIGUSR1