From c50f2d135653466b09cc8b2a199ccbd473c3c860 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Tue, 6 Jun 2017 10:25:15 +0200 Subject: [PATCH] misc: Do not fall through and return a value Signed-off-by: Andreas Schneider --- src/misc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/misc.c b/src/misc.c index dc09bad2..6ff81ec7 100644 --- a/src/misc.c +++ b/src/misc.c @@ -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 */