1
0
mirror of https://github.com/apache/httpd.git synced 2026-01-06 09:01:14 +03:00

rv is never used which makes the whole if useless

Reported by:	clang static analyzer



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@983116 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Philip M. Gollucci
2010-08-06 20:07:57 +00:00
parent ff7cfbdcbb
commit 879cfff6f4

View File

@@ -190,10 +190,7 @@ static apr_status_t reqtimeout_filter(ap_filter_t *f,
#endif
rv = ap_get_brigade(f->next, bb, AP_MODE_GETLINE, APR_NONBLOCK_READ, remaining);
if (APR_STATUS_IS_EAGAIN(rv)) {
rv = APR_SUCCESS;
}
else if (rv != APR_SUCCESS) {
if (rv != APR_SUCCESS) {
break;
}