mike                                     Wed, 10 Aug 2011 11:01:09 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=314728

Log:
fix coverity issue 1054: missing break/return

Changed paths:
    U   php/php-src/branches/PHP_5_4/main/output.c
    U   php/php-src/trunk/main/output.c

Modified: php/php-src/branches/PHP_5_4/main/output.c
===================================================================
--- php/php-src/branches/PHP_5_4/main/output.c  2011-08-10 10:56:25 UTC (rev 
314727)
+++ php/php-src/branches/PHP_5_4/main/output.c  2011-08-10 11:01:09 UTC (rev 
314728)
@@ -618,6 +618,7 @@
                                return SUCCESS;
                        case PHP_OUTPUT_HANDLER_HOOK_GET_LEVEL:
                                *(int *) arg = OG(running)->level;
+                return SUCCESS;
                        case PHP_OUTPUT_HANDLER_HOOK_IMMUTABLE:
                                OG(running)->flags &= 
~(PHP_OUTPUT_HANDLER_REMOVABLE|PHP_OUTPUT_HANDLER_CLEANABLE);
                                return SUCCESS;

Modified: php/php-src/trunk/main/output.c
===================================================================
--- php/php-src/trunk/main/output.c     2011-08-10 10:56:25 UTC (rev 314727)
+++ php/php-src/trunk/main/output.c     2011-08-10 11:01:09 UTC (rev 314728)
@@ -618,6 +618,7 @@
                                return SUCCESS;
                        case PHP_OUTPUT_HANDLER_HOOK_GET_LEVEL:
                                *(int *) arg = OG(running)->level;
+                return SUCCESS;
                        case PHP_OUTPUT_HANDLER_HOOK_IMMUTABLE:
                                OG(running)->flags &= 
~(PHP_OUTPUT_HANDLER_REMOVABLE|PHP_OUTPUT_HANDLER_CLEANABLE);
                                return SUCCESS;

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to