From dfe3e257cc99ac6f6863ca4d3cd23a40c8f80a5b Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Sun, 3 Apr 2016 13:18:16 +0200 Subject: fix warning: return early, fixes bogus end NULL dereference warning --- sfeed.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sfeed.c b/sfeed.c index df00c38..96fb3f6 100644 --- a/sfeed.c +++ b/sfeed.c @@ -498,6 +498,8 @@ time: /* parse regular time, see above */ vi = 3; goto time; + } else { + return -1; } /* invalid range */ -- cgit v1.2.3