X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=http_response_object.c;h=f7cb216c5ba4bbf0f52a31544f7080caff8cc813;hb=f80ca631c3f6a21239cecaf21d9a1a698df945b4;hp=5303d2d0ed76bd1c934b2428dad2ad8a5d3dc652;hpb=445dd5f0580e5073d69d3ef7267671686e18f4e7;p=m6w6%2Fext-http diff --git a/http_response_object.c b/http_response_object.c index 5303d2d..f7cb216 100644 --- a/http_response_object.c +++ b/http_response_object.c @@ -469,7 +469,7 @@ PHP_METHOD(HttpResponse, getBufferSize) */ PHP_METHOD(HttpResponse, setData) { - zval *the_data, **data; + zval *the_data; if (SUCCESS != zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z", &the_data)) { RETURN_FALSE; @@ -601,7 +601,7 @@ PHP_METHOD(HttpResponse, getFile) */ PHP_METHOD(HttpResponse, send) { - zval *do_cache, *do_gzip, *sent; + zval *sent; zend_bool clean_ob = 1; if (SUCCESS != zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|b", &clean_ob)) { @@ -655,8 +655,6 @@ PHP_METHOD(HttpResponse, send) /* caching */ if (Z_LVAL_P(GET_STATIC_PROP(cache))) { - char *cc_hdr; - int cc_len; zval *cctl, *etag, *lmod; etag = GET_STATIC_PROP(eTag);