Re: com php-src: Fixed warning of no return in non-void funciton: Zend/zend_vm_def.h Zend/zend_vm_execute.h Zend/zend_vm_gen.php
| From: | Pierre Joye | Date: | Fri, 14 Dec 2012 09:47:23 +0000 |
| Subject: | Re: com php-src: Fixed warning of no return in non-void funciton: Zend/zend_vm_def.h Zend/zend_vm_execute.h Zend/zend_vm_gen.php | ||
| References: | 1 2 3 4 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-70728@lists.php.net to get a copy of this message | ||
On Fri, Dec 14, 2012 at 10:40 AM, Stas Malyshev <smalyshev@sugarcrm.com> wrote:
> Hi!
>
>> Zend/zend_generators.c:734: warning: control reaches end of non-void function
>>
>> yes it's nothing difference , just make the compiler happy
>
> zend_error_noreturn already supposed to do that. Why it does not do it
> in your case? Which compiler do you use?
a couple of compilers or analyzers are confused by this macro, not
sure why, but reducing the noises at no cost help to get a better view
in future checks.
--
Pierre
@pierrejoye