From a34ce8f4f9a8ab410bb93c67b18f46936c72e389 Mon Sep 17 00:00:00 2001 From: Mukund Sivaraman Date: Sun, 17 Jan 2010 14:26:56 +0530 Subject: Remove ret variable as 0 is always returned --- src/log.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src') diff --git a/src/log.c b/src/log.c index fd9bdd9..34e1047 100644 --- a/src/log.c +++ b/src/log.c @@ -248,8 +248,6 @@ void send_stored_logs (void) */ int setup_logging (void) { - int ret = -1; - /* Write to a user supplied log file if it's defined. This will * override using the syslog even if syslog is defined. */ if (config.syslog) { @@ -278,9 +276,7 @@ int setup_logging (void) logging_initialized = TRUE; send_stored_logs (); - ret = 0; - - return ret; + return 0; } /** -- cgit v1.2.3