Skip to content

Commit a321bc9

Browse files
committed
Zend: add unreachable default case
1 parent f2b7d15 commit a321bc9

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎Zend/zend_compile.c‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6394,6 +6394,8 @@ static void zend_compile_void_cast(znode *result, const zend_ast *ast)
63946394
case IS_CONST:
63956395
zend_do_free(&expr_node);
63966396
break;
6397+
default:
6398+
ZEND_UNREACHABLE();
63976399
}
63986400
}
63996401

0 commit comments

Comments
 (0)