reload_logging: fix returning possibly uninitialized value
introduced in 17d3733be3
may fix #422
This commit is contained in:
parent
479df8ecec
commit
9718be09c1
@ -268,7 +268,7 @@ int reload_config (int reload_logging)
|
||||
config = c_next;
|
||||
}
|
||||
|
||||
if (reload_logging) ret2 = setup_logging ();
|
||||
ret2 = reload_logging ? setup_logging () : 0;
|
||||
|
||||
if (ret != 0)
|
||||
log_message (LOG_WARNING, "Reloading config file failed!");
|
||||
|
Loading…
Reference in New Issue
Block a user