diff options
author | Mukund Sivaraman <muks@banu.com> | 2010-01-17 14:26:56 +0530 |
---|---|---|
committer | Mukund Sivaraman <muks@banu.com> | 2010-01-17 14:26:56 +0530 |
commit | a34ce8f4f9a8ab410bb93c67b18f46936c72e389 (patch) | |
tree | 5e0da4c38e8dae70ad328e067478b344b046e44f /src | |
parent | e2b367a169aded1a88bb07b2675d79dc32ea7b1d (diff) | |
download | tinyproxy-a34ce8f4f9a8ab410bb93c67b18f46936c72e389.tar.gz tinyproxy-a34ce8f4f9a8ab410bb93c67b18f46936c72e389.zip |
Remove ret variable as 0 is always returned
Diffstat (limited to 'src')
-rw-r--r-- | src/log.c | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -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; } /** |