Skip to content

Commit 7c1e461

Browse files
authored
Removed unused var exec_time and fetch time in opcache/zend_accelerator_module.c (GH-19235)
1 parent b1fce8a commit 7c1e461

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

ext/opcache/zend_accelerator_module.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -599,8 +599,6 @@ static int accelerator_get_scripts(zval *return_value)
599599
zval persistent_script_report;
600600
zend_accel_hash_entry *cache_entry;
601601
struct tm *ta;
602-
struct timeval exec_time;
603-
struct timeval fetch_time;
604602

605603
if (!ZCG(accelerator_enabled) || accelerator_shm_read_lock() != SUCCESS) {
606604
return 0;
@@ -630,8 +628,6 @@ static int accelerator_get_scripts(zval *return_value)
630628
if (ZCG(accel_directives).validate_timestamps) {
631629
add_assoc_long(&persistent_script_report, "timestamp", (zend_long)script->timestamp);
632630
}
633-
timerclear(&exec_time);
634-
timerclear(&fetch_time);
635631

636632
add_assoc_long(&persistent_script_report, "revalidate", (zend_long)script->dynamic_members.revalidate);
637633

0 commit comments

Comments
 (0)