Skip to content

Commit d4de3f9

Browse files
committed
Remove spurious const qualifier from function return type
1 parent 53e527a commit d4de3f9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Zend/zend_vm_execute.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59485,7 +59485,7 @@ ZEND_API int zend_vm_kind(void)
5948559485
return ZEND_VM_KIND;
5948659486
}
5948759487

59488-
static const uint32_t ZEND_FASTCALL zend_vm_get_opcode_handler_idx(uint32_t spec, const zend_op* op)
59488+
static uint32_t ZEND_FASTCALL zend_vm_get_opcode_handler_idx(uint32_t spec, const zend_op* op)
5948959489
{
5949059490
static const int zend_vm_decode[] = {
5949159491
_UNUSED_CODE, /* 0 = IS_UNUSED */

Zend/zend_vm_gen.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2696,7 +2696,7 @@ function gen_vm($def, $skel) {
26962696
out($f, "\n");
26972697

26982698
// Generate zend_vm_get_opcode_handler() function
2699-
out($f, "static const uint32_t ZEND_FASTCALL zend_vm_get_opcode_handler_idx(uint32_t spec, const zend_op* op)\n");
2699+
out($f, "static uint32_t ZEND_FASTCALL zend_vm_get_opcode_handler_idx(uint32_t spec, const zend_op* op)\n");
27002700
out($f, "{\n");
27012701
if (!ZEND_VM_SPEC) {
27022702
out($f, "\treturn spec;\n");

0 commit comments

Comments
 (0)