From b16b8c815c2c94ac2bbe0ee1a1775f76963339ea Mon Sep 17 00:00:00 2001 From: "Reynaldo H. Verdejo Pinochet" Date: Sun, 26 Jul 2015 23:53:08 -0300 Subject: [PATCH] ffserver: drop superfluous else clause Signed-off-by: Reynaldo H. Verdejo Pinochet --- ffserver.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ffserver.c b/ffserver.c index b4e6093cc8..42025ab475 100644 --- a/ffserver.c +++ b/ffserver.c @@ -2541,9 +2541,8 @@ static int http_start_receive_data(HTTPContext *c) http_log("Error reading write index from feed file '%s': %s\n", c->stream->feed_filename, strerror(errno)); return ret; - } else { - c->stream->feed_write_index = ret; } + c->stream->feed_write_index = ret; } c->stream->feed_write_index = FFMAX(ffm_read_write_index(fd),