diff options
author | Darren Tucker <dtucker@zip.com.au> | 2006-08-20 17:55:54 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2006-08-20 17:55:54 +1000 |
commit | aa1517ca1e7e71070b77357626c87dcf9ee30697 (patch) | |
tree | 3544095969d5e91b6eb65c935bb7de389bbde34e | |
parent | f0625699dff5e62e69b454acd9ea4c5bef7787b5 (diff) |
- (dtucker) [log.c] Move ifdef to prevent unused variable warning.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | log.c | 2 |
2 files changed, 5 insertions, 2 deletions
@@ -1,3 +1,6 @@ | |||
1 | 20060820 | ||
2 | - (dtucker) [log.c] Move ifdef to prevent unused variable warning. | ||
3 | |||
1 | 20060819 | 4 | 20060819 |
2 | - (djm) OpenBSD CVS Sync | 5 | - (djm) OpenBSD CVS Sync |
3 | - djm@cvs.openbsd.org 2006/08/18 22:41:29 | 6 | - djm@cvs.openbsd.org 2006/08/18 22:41:29 |
@@ -5274,4 +5277,4 @@ | |||
5274 | - (djm) Trim deprecated options from INSTALL. Mention UsePAM | 5277 | - (djm) Trim deprecated options from INSTALL. Mention UsePAM |
5275 | - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu | 5278 | - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu |
5276 | 5279 | ||
5277 | $Id: ChangeLog,v 1.4498 2006/08/19 09:12:14 dtucker Exp $ | 5280 | $Id: ChangeLog,v 1.4499 2006/08/20 07:55:54 dtucker Exp $ |
@@ -140,9 +140,9 @@ error(const char *fmt,...) | |||
140 | void | 140 | void |
141 | sigdie(const char *fmt,...) | 141 | sigdie(const char *fmt,...) |
142 | { | 142 | { |
143 | #ifdef DO_LOG_SAFE_IN_SIGHAND | ||
143 | va_list args; | 144 | va_list args; |
144 | 145 | ||
145 | #ifdef DO_LOG_SAFE_IN_SIGHAND | ||
146 | va_start(args, fmt); | 146 | va_start(args, fmt); |
147 | do_log(SYSLOG_LEVEL_FATAL, fmt, args); | 147 | do_log(SYSLOG_LEVEL_FATAL, fmt, args); |
148 | va_end(args); | 148 | va_end(args); |