- (dtucker) [log.c] Move ifdef to prevent unused variable warning.

This commit is contained in:
Darren Tucker 2006-08-20 17:55:54 +10:00
parent f0625699df
commit aa1517ca1e
2 changed files with 5 additions and 2 deletions

View File

@ -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 $

2
log.c
View File

@ -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);