diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-04-02 10:54:32 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-04-02 10:54:32 +0200 |
commit | 5430a466ff31422b436df076581d8345531db975 (patch) | |
tree | fdd36e93a78cacb0cd0ff5bb854d0dc4e0a85406 /Zend/zend_operators.c | |
parent | 919adcf1619f44d693dd6c4b0551559e73c9e5e5 (diff) | |
download | php-git-5430a466ff31422b436df076581d8345531db975.tar.gz |
Avoid control flow warning
Diffstat (limited to 'Zend/zend_operators.c')
-rw-r--r-- | Zend/zend_operators.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Zend/zend_operators.c b/Zend/zend_operators.c index b4be563bac..7f9b804f1e 100644 --- a/Zend/zend_operators.c +++ b/Zend/zend_operators.c @@ -1017,6 +1017,7 @@ static zend_never_inline int ZEND_FASTCALL add_function_slow(zval *result, zval } ZEND_ASSERT(0 && "Operation must succeed"); + return FAILURE; } /* }}} */ ZEND_API int ZEND_FASTCALL add_function(zval *result, zval *op1, zval *op2) /* {{{ */ @@ -1080,6 +1081,7 @@ static zend_never_inline int ZEND_FASTCALL sub_function_slow(zval *result, zval } ZEND_ASSERT(0 && "Operation must succeed"); + return FAILURE; } /* }}} */ @@ -1147,6 +1149,7 @@ static zend_never_inline int ZEND_FASTCALL mul_function_slow(zval *result, zval } ZEND_ASSERT(0 && "Operation must succeed"); + return FAILURE; } /* }}} */ @@ -1246,6 +1249,7 @@ ZEND_API int ZEND_FASTCALL pow_function(zval *result, zval *op1, zval *op2) /* { } ZEND_ASSERT(0 && "Operation must succeed"); + return FAILURE; } /* }}} */ @@ -1324,6 +1328,7 @@ ZEND_API int ZEND_FASTCALL div_function(zval *result, zval *op1, zval *op2) /* { } ZEND_ASSERT(0 && "Operation must succeed"); + return FAILURE; } /* }}} */ |