From 695ec3c97e395f149ce85b861a1d80cf1a54d877 Mon Sep 17 00:00:00 2001 From: Niels Dossche <7771979+nielsdos@users.noreply.github.com> Date: Sun, 17 Sep 2023 16:19:22 +0200 Subject: [PATCH] Remove unnecessary _IS_BOOL case (#12230) This can never be executed because booleans are handled in a special case at the top of sxe_object_cast_ex(). --- ext/simplexml/simplexml.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/ext/simplexml/simplexml.c b/ext/simplexml/simplexml.c index 140773766a2..a845057a6ec 100644 --- a/ext/simplexml/simplexml.c +++ b/ext/simplexml/simplexml.c @@ -1805,9 +1805,6 @@ static zend_result cast_object(zval *object, int type, char *contents) case IS_STRING: convert_to_string(object); break; - case _IS_BOOL: - convert_to_boolean(object); - break; case IS_LONG: convert_to_long(object); break;