Fix ZEND_DEBUG condition (#14408)

ZEND_DEBUG is always defined by the build system automatically, either
to value 0 or value 1.
This commit is contained in:
Peter Kokot 2024-06-01 16:07:48 +02:00 committed by GitHub
parent 9f89ada76f
commit cf469133a5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2286,7 +2286,7 @@ static void do_soap_call(zend_execute_data *execute_data,
tmp = Z_CLIENT_SDL_P(this_ptr);
if (Z_TYPE_P(tmp) == IS_OBJECT) {
#ifdef ZEND_DEBUG
#if ZEND_DEBUG
ZEND_ASSERT(instanceof_function(Z_OBJCE_P(tmp), soap_sdl_class_entry));
#endif
sdl = Z_SOAP_SDL_P(tmp)->sdl;