Skip to content

Commit 2465319

Browse files
committed
Remove unused variable and dtor
1 parent 843c5f0 commit 2465319

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

sapi/fuzzer/fuzzer-sapi.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ int fuzzer_do_request_from_buffer(
292292

293293
// Call named PHP function with N zval arguments
294294
void fuzzer_call_php_func_zval(const char *func_name, int nargs, zval *args) {
295-
zval retval, func;
295+
zval retval;
296296

297297
zend_function *fn = zend_hash_str_find_ptr(CG(function_table), func_name, strlen(func_name));
298298
ZEND_ASSERT(fn != NULL);
@@ -306,7 +306,6 @@ void fuzzer_call_php_func_zval(const char *func_name, int nargs, zval *args) {
306306

307307
/* cleanup */
308308
zval_ptr_dtor(&retval);
309-
zval_ptr_dtor(&func);
310309
}
311310

312311
// Call named PHP function with N string arguments

0 commit comments

Comments
 (0)