cppcheck & 7.1RC tests
[m6w6/ext-http] / src / php_http_client_curl_user.c
index d345e27e96bc30b2d7c985038073a011b885b9e5..a0449a2f27374d0b6f06813189cc2f47f6175351 100644 (file)
@@ -59,7 +59,7 @@ static void php_http_client_curl_user_timer(CURLM *multi, long timeout_ms, void
 
        if (timeout_ms <= 0) {
                php_http_client_curl_loop(context->client, CURL_SOCKET_TIMEOUT, 0);
-       } else if (timeout_ms > 0) {
+       } else {
                zval args[1], *ztimeout = &args[0];
 
                ZVAL_LONG(ztimeout, timeout_ms);