Skip to content

Commit 1096ea1

Browse files
committed
Zend: mark variable as const
1 parent 032e5f6 commit 1096ea1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/zend_inheritance.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ static bool unlinked_instanceof(const zend_class_entry *ce1, const zend_class_en
320320
}
321321

322322
if (ce1->parent) {
323-
zend_class_entry *parent_ce;
323+
const zend_class_entry *parent_ce;
324324
if (ce1->ce_flags & ZEND_ACC_RESOLVED_PARENT) {
325325
parent_ce = ce1->parent;
326326
} else {

0 commit comments

Comments
 (0)