svn: /php/php-src/ branches/PHP_5_4/main/output.c trunk/main/output.c
| From: | Michael Wallner | Date: | Wed, 10 Aug 2011 11:01:09 +0000 |
| Subject: | svn: /php/php-src/ branches/PHP_5_4/main/output.c trunk/main/output.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-65811@lists.php.net to get a copy of this message | ||
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;