From: Adam Sutton Date: Sun, 10 Jan 2016 00:38:18 +0000 (+0000) Subject: httpc: remove redundant code X-Git-Tag: v4.2.1~1163^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=97b26a93d9285def6b9e306ee9a7633a06d8cccf;p=thirdparty%2Ftvheadend.git httpc: remove redundant code res is either set to 0 or we've returned --- diff --git a/src/httpc.c b/src/httpc.c index 4b7c428e6..69f07a472 100644 --- a/src/httpc.c +++ b/src/httpc.c @@ -1093,8 +1093,6 @@ rtsp_data: res = 0; } r += hc->hc_csize; - if (res < 0) - return http_client_flush(hc, res); hc->hc_in_rtp_data = 1; hc->hc_code = 0; res = http_client_finish(hc);