Commit:    4813a711749df756088f049cadb58f13fe60721d
Author:    Dmitry Stogov <dmi...@zend.com>         Tue, 19 Feb 2013 18:07:23 
+0400
Parents:   3af305cc504f265b373ccfff9f0d0211ae73e85b
Branches:  PHP-5.5 master

Link:       
http://git.php.net/?p=php-src.git;a=commitdiff;h=4813a711749df756088f049cadb58f13fe60721d

Log:
Fixed static analyser warning

Changed paths:
  M  ZendAccelerator.c


Diff:
diff --git a/ZendAccelerator.c b/ZendAccelerator.c
index 79eb7f4..f9b39fc 100644
--- a/ZendAccelerator.c
+++ b/ZendAccelerator.c
@@ -2183,6 +2183,7 @@ static void zend_accel_init_shm(TSRMLS_D)
        accel_shared_globals = 
zend_shared_alloc(sizeof(zend_accel_shared_globals));
        if (!accel_shared_globals) {
                zend_accel_error(ACCEL_LOG_FATAL, "Insufficient shared 
memory!");
+               return;
        }
        ZSMMG(app_shared_globals) = accel_shared_globals;


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

Reply via email to