[php-src] master: Zend: remove zend_error_noreturn_unchecked()
| From: | Gina Peter Banyard | Date: | Wed, 04 Nov 2026 17:13:25 +0000 |
| Subject: | [php-src] master: Zend: remove zend_error_noreturn_unchecked() | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-143329@lists.php.net to get a copy of this message | ||
Author: Gina Peter Banyard (Girgias)
Date: 2026-11-04T17:13:18Z
Commit: https://github.com/php/php-src/commit/c0fc6c2721085816cc9730f76918d8f544e0ce34
Raw diff: https://github.com/php/php-src/commit/c0fc6c2721085816cc9730f76918d8f544e0ce34.diff
Zend: remove zend_error_noreturn_unchecked()
Changed paths:
M Zend/zend.c
M Zend/zend.h
Diff:
diff --git a/Zend/zend.c b/Zend/zend.c
index d921c9f74b6d..3e489d8d3804 100644
--- a/Zend/zend.c
+++ b/Zend/zend.c
@@ -1756,11 +1756,6 @@ ZEND_NORETURN ZEND_API ZEND_COLD void zend_error_noreturn(int type, const
char *
zend_error_noreturn_impl(type, format);
}
-ZEND_NORETURN ZEND_API ZEND_COLD void zend_error_noreturn_unchecked(int type, const char *format,
...)
-{
- zend_error_noreturn_impl(type, format);
-}
-
ZEND_NORETURN ZEND_API ZEND_COLD void zend_strerror_noreturn(int type, int errn, const char
*message)
{
#ifdef HAVE_STRERROR_R
diff --git a/Zend/zend.h b/Zend/zend.h
index 4fcbda361fa9..2bbf0283991d 100644
--- a/Zend/zend.h
+++ b/Zend/zend.h
@@ -388,7 +388,6 @@ extern ZEND_API void (*zend_accel_schedule_restart_hook)(int reason);
ZEND_API ZEND_COLD void zend_error(int type, const char *format, ...) ZEND_ATTRIBUTE_FORMAT(printf,
2, 3);
ZEND_NORETURN ZEND_API ZEND_COLD void zend_error_noreturn(int type, const char *format, ...)
ZEND_ATTRIBUTE_FORMAT(printf, 2, 3);
-ZEND_NORETURN ZEND_API ZEND_COLD void zend_error_noreturn_unchecked(int type, const char *format,
...);
/* For custom format specifiers like H */
ZEND_API ZEND_COLD void zend_error_unchecked(int type, const char *format, ...);
/* If filename is NULL the default filename is used. */