git.samba.org
/
obnox
/
tinyproxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2b367a
)
Remove ret variable as 0 is always returned
author
Mukund Sivaraman
<muks@banu.com>
Sun, 17 Jan 2010 08:56:56 +0000
(14:26 +0530)
committer
Mukund Sivaraman
<muks@banu.com>
Sun, 17 Jan 2010 08:56:56 +0000
(14:26 +0530)
src/log.c
patch
|
blob
|
history
diff --git
a/src/log.c
b/src/log.c
index fd9bdd9af9695b3ad60bf0d5d43a457d2f8f8135..34e104737f3511175fc5cfff674dd44b31d14505 100644
(file)
--- 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;
}
/**