com php-src: Fixed static analyser warning: ZendAccelerator.c
| From: | Dmitry Stogov | Date: | Tue, 19 Feb 2013 14:07:23 +0000 |
| Subject: | com php-src: Fixed static analyser warning: ZendAccelerator.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-71518@lists.php.net to get a copy of this message | ||
Commit: 4813a711749df756088f049cadb58f13fe60721d
Author: Dmitry Stogov <dmitry@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;