mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-11-30 13:01:23 +03:00
misc: Do not fall through and return a value
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
@@ -968,6 +968,7 @@ int ssh_timeout_elapsed(struct ssh_timestamp *ts, int timeout) {
|
||||
fprintf(stderr, "ssh_timeout_elapsed called with -2. this needs to "
|
||||
"be fixed. please set a breakpoint on %s:%d and "
|
||||
"fix the caller\n", __FILE__, __LINE__);
|
||||
return 0;
|
||||
case -1: /* -1 means infinite timeout */
|
||||
return 0;
|
||||
case 0: /* 0 means no timeout */
|
||||
|
||||
Reference in New Issue
Block a user