diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2016-04-03 13:18:16 +0200 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2016-04-03 13:18:16 +0200 |
commit | dfe3e257cc99ac6f6863ca4d3cd23a40c8f80a5b (patch) | |
tree | fa14c66a4c31b7f59bee30e882ec17a57bb8771e | |
parent | ec7a6e018c7bddd3645f770d0350311653212963 (diff) |
fix warning: return early, fixes bogus end NULL dereference warning
-rw-r--r-- | sfeed.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -498,6 +498,8 @@ time: /* parse regular time, see above */ vi = 3; goto time; + } else { + return -1; } /* invalid range */ |