summaryrefslogtreecommitdiff
path: root/ext/curl
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2018-05-29 17:58:06 +0300
committerDmitry Stogov <dmitry@zend.com>2018-05-29 17:58:06 +0300
commitd90c6f2443d3c8b4e1e83b3e0fbfc58d1fe5e84f (patch)
treeb651c9cea24d5fd0c82796e498a46f1b96b40e4d /ext/curl
parent44be0fa67b46506353c3dd27d97801bd0eddbb00 (diff)
downloadphp-git-d90c6f2443d3c8b4e1e83b3e0fbfc58d1fe5e84f.tar.gz
Removed useless zval_ptr_dtor()
Diffstat (limited to 'ext/curl')
-rw-r--r--ext/curl/interface.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/ext/curl/interface.c b/ext/curl/interface.c
index 4c2f7e52db..d197d5cd96 100644
--- a/ext/curl/interface.c
+++ b/ext/curl/interface.c
@@ -1553,10 +1553,6 @@ static size_t curl_progress(void *clientp, double dltotal, double dlnow, double
}
}
zval_ptr_dtor(&argv[0]);
- zval_ptr_dtor(&argv[1]);
- zval_ptr_dtor(&argv[2]);
- zval_ptr_dtor(&argv[3]);
- zval_ptr_dtor(&argv[4]);
break;
}
}
@@ -1619,7 +1615,6 @@ static size_t curl_read(char *data, size_t size, size_t nmemb, void *ctx)
zval_ptr_dtor(&argv[0]);
zval_ptr_dtor(&argv[1]);
- zval_ptr_dtor(&argv[2]);
break;
}
}