mirror of
https://github.com/samba-team/samba.git
synced 2025-01-13 13:18:06 +03:00
c1e8ea08e3
In a few places functions are called, the return code is assigned into a variable but it is not checked. This generates a compiler warning like this: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] Instead we remove the warning by checking the return code variable and log a warning at DEBUG level if the return code indicates an error. The justification is that there may have been a future intent to check the return code but it hasn't been important enough to follow-up. If it matters, it will be logged for easy debugging. Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit 1932466c76de2b184c2a257120768ab8c9d6c12a) |
||
---|---|---|
.. | ||
ctdb_banning.c | ||
ctdb_call.c | ||
ctdb_control.c | ||
ctdb_daemon.c | ||
ctdb_freeze.c | ||
ctdb_keepalive.c | ||
ctdb_lockwait.c | ||
ctdb_logging.c | ||
ctdb_ltdb_server.c | ||
ctdb_monitor.c | ||
ctdb_persistent.c | ||
ctdb_recover.c | ||
ctdb_recoverd.c | ||
ctdb_server.c | ||
ctdb_serverids.c | ||
ctdb_statistics.c | ||
ctdb_takeover.c | ||
ctdb_traverse.c | ||
ctdb_tunables.c | ||
ctdb_uptime.c | ||
ctdb_vacuum.c | ||
ctdbd.c | ||
eventscript.c |