mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Removed unused var exec_time and fetch time in opcache/zend_accelerator_module.c (GH-19235)
This commit is contained in:
@@ -599,8 +599,6 @@ static int accelerator_get_scripts(zval *return_value)
|
||||
zval persistent_script_report;
|
||||
zend_accel_hash_entry *cache_entry;
|
||||
struct tm *ta;
|
||||
struct timeval exec_time;
|
||||
struct timeval fetch_time;
|
||||
|
||||
if (!ZCG(accelerator_enabled) || accelerator_shm_read_lock() != SUCCESS) {
|
||||
return 0;
|
||||
@@ -630,8 +628,6 @@ static int accelerator_get_scripts(zval *return_value)
|
||||
if (ZCG(accel_directives).validate_timestamps) {
|
||||
add_assoc_long(&persistent_script_report, "timestamp", (zend_long)script->timestamp);
|
||||
}
|
||||
timerclear(&exec_time);
|
||||
timerclear(&fetch_time);
|
||||
|
||||
add_assoc_long(&persistent_script_report, "revalidate", (zend_long)script->dynamic_members.revalidate);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user