summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2018-12-04 19:01:36 +0100
committerNikita Popov <nikita.ppv@gmail.com>2018-12-04 19:01:36 +0100
commit3b70dc078fd0e8fb6c3377d5c4969c992f848e63 (patch)
tree3b6d1321d228b75917d071e28c05ecf1608a3dce
parent2a32c1cafdbabba7f0f6141380008fd7e7ad1122 (diff)
downloadphp-git-3b70dc078fd0e8fb6c3377d5c4969c992f848e63.tar.gz
Fix unused variable warnings
-rw-r--r--ext/spl/spl_heap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/spl/spl_heap.c b/ext/spl/spl_heap.c
index e3e0b4817b..e49982fabe 100644
--- a/ext/spl/spl_heap.c
+++ b/ext/spl/spl_heap.c
@@ -682,7 +682,7 @@ SPL_METHOD(SplPriorityQueue, insert)
extract the element out of the top of the priority queue */
SPL_METHOD(SplPriorityQueue, extract)
{
- zval value, *value_out;
+ zval value;
spl_heap_object *intern;
if (zend_parse_parameters_none() == FAILURE) {
@@ -712,7 +712,7 @@ SPL_METHOD(SplPriorityQueue, extract)
Peek at the top element of the priority queue */
SPL_METHOD(SplPriorityQueue, top)
{
- zval *value, *value_out;
+ zval *value;
spl_heap_object *intern;
if (zend_parse_parameters_none() == FAILURE) {