diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2017-06-06 10:25:15 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2017-06-06 10:25:15 +0200 |
commit | c50f2d135653466b09cc8b2a199ccbd473c3c860 (patch) | |
tree | 2387de51135308532d05de5038012dd7430e670f /src/misc.c | |
parent | 48e7b098f86207f8596651b5ba8242a3b834a868 (diff) | |
download | libssh-c50f2d135653466b09cc8b2a199ccbd473c3c860.tar.gz libssh-c50f2d135653466b09cc8b2a199ccbd473c3c860.tar.xz libssh-c50f2d135653466b09cc8b2a199ccbd473c3c860.zip |
misc: Do not fall through and return a value
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'src/misc.c')
-rw-r--r-- | src/misc.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 */ |