1
0
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:
Andreas Schneider
2017-06-06 10:25:15 +02:00
parent 48e7b098f8
commit c50f2d1356

View File

@@ -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 */