From aa1517ca1e7e71070b77357626c87dcf9ee30697 Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Sun, 20 Aug 2006 17:55:54 +1000 Subject: [PATCH] - (dtucker) [log.c] Move ifdef to prevent unused variable warning. --- ChangeLog | 5 ++++- log.c | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index e24ad3444..206efa7e9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +20060820 + - (dtucker) [log.c] Move ifdef to prevent unused variable warning. + 20060819 - (djm) OpenBSD CVS Sync - djm@cvs.openbsd.org 2006/08/18 22:41:29 @@ -5274,4 +5277,4 @@ - (djm) Trim deprecated options from INSTALL. Mention UsePAM - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu -$Id: ChangeLog,v 1.4498 2006/08/19 09:12:14 dtucker Exp $ +$Id: ChangeLog,v 1.4499 2006/08/20 07:55:54 dtucker Exp $ diff --git a/log.c b/log.c index 0ce4d85f7..7f8867482 100644 --- a/log.c +++ b/log.c @@ -140,9 +140,9 @@ error(const char *fmt,...) void sigdie(const char *fmt,...) { +#ifdef DO_LOG_SAFE_IN_SIGHAND va_list args; -#ifdef DO_LOG_SAFE_IN_SIGHAND va_start(args, fmt); do_log(SYSLOG_LEVEL_FATAL, fmt, args); va_end(args);