com php-src: Mark zend_bailout() as a noreturn fu nction: Zend/zend.c Zend/zend.h

From: Date: Fri, 12 Apr 2019 08:41:53 +0000
Subject: com php-src: Mark zend_bailout() as a noreturn fu nction: Zend/zend.c Zend/zend.h
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-105686@lists.php.net to get a copy of this message
Commit: ce408504d5bc1b73fa43c8a2af9f21bdb3f0c5e4 Author: Nikita Popov <nikita.ppv@gmail.com> Fri, 12 Apr 2019 10:41:53 +0200 Parents: 1ef5b79b6be380c133b21fd17b39a9aef4cccae6 Branches: PHP-7.4 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=ce408504d5bc1b73fa43c8a2af9f21bdb3f0c5e4 Log: Mark zend_bailout() as a noreturn function Changed paths: M Zend/zend.c M Zend/zend.h Diff: diff --git a/Zend/zend.c b/Zend/zend.c index 36f47ee..5670dae 100644 --- a/Zend/zend.c +++ b/Zend/zend.c @@ -1097,7 +1097,7 @@ ZEND_COLD void zenderror(const char *error) /* {{{ */ /* }}} */ BEGIN_EXTERN_C() -ZEND_API ZEND_COLD void _zend_bailout(const char *filename, uint32_t lineno) /* {{{ */ +ZEND_API ZEND_COLD ZEND_NORETURN void _zend_bailout(const char *filename, uint32_t lineno) /* {{{ */ { if (!EG(bailout)) { diff --git a/Zend/zend.h b/Zend/zend.h index 86b10ea..6b8c1d0 100644 --- a/Zend/zend.h +++ b/Zend/zend.h @@ -232,7 +232,7 @@ void zend_register_standard_ini_entries(void); int zend_post_startup(void); void zend_set_utility_values(zend_utility_values *utility_values); -ZEND_API ZEND_COLD void _zend_bailout(const char *filename, uint32_t lineno); +ZEND_API ZEND_COLD ZEND_NORETURN void _zend_bailout(const char *filename, uint32_t lineno); ZEND_API size_t zend_vspprintf(char **pbuf, size_t max_len, const char *format, va_list ap); ZEND_API size_t zend_spprintf(char **message, size_t max_len, const char *format, ...) ZEND_ATTRIBUTE_FORMAT(printf, 3, 4);

« previous php.cvs (#105686) next »