summaryrefslogtreecommitdiff
path: root/ext/opcache/zend_shared_alloc.c
diff options
context:
space:
mode:
authorTom Van Looy <tom@ctors.net>2017-06-25 23:24:23 +0200
committerNikita Popov <nikita.ppv@gmail.com>2017-06-26 00:23:25 +0200
commit04fb3f28ff677d036cfaf902f07b75f0346a5c33 (patch)
tree853db28cee8906637515d49c758776032884fe37 /ext/opcache/zend_shared_alloc.c
parentb3849edf2ce168740256c48ee0a4631bb56086b8 (diff)
downloadphp-git-04fb3f28ff677d036cfaf902f07b75f0346a5c33.tar.gz
Remove superfluous semicolons
Diffstat (limited to 'ext/opcache/zend_shared_alloc.c')
-rw-r--r--ext/opcache/zend_shared_alloc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/opcache/zend_shared_alloc.c b/ext/opcache/zend_shared_alloc.c
index 738c6285d2..4f00574965 100644
--- a/ext/opcache/zend_shared_alloc.c
+++ b/ext/opcache/zend_shared_alloc.c
@@ -228,14 +228,14 @@ int zend_shared_alloc_startup(size_t requested_size)
p_tmp_shared_globals = (zend_smm_shared_globals *) zend_shared_alloc(sizeof(zend_smm_shared_globals));
if (!p_tmp_shared_globals) {
zend_accel_error(ACCEL_LOG_FATAL, "Insufficient shared memory!");
- return ALLOC_FAILURE;;
+ return ALLOC_FAILURE;
}
memset(p_tmp_shared_globals, 0, sizeof(zend_smm_shared_globals));
tmp_shared_segments = zend_shared_alloc(shared_segments_array_size + ZSMMG(shared_segments_count) * sizeof(void *));
if (!tmp_shared_segments) {
zend_accel_error(ACCEL_LOG_FATAL, "Insufficient shared memory!");
- return ALLOC_FAILURE;;
+ return ALLOC_FAILURE;
}
copy_shared_segments(tmp_shared_segments, ZSMMG(shared_segments)[0], ZSMMG(shared_segments_count), S_H(segment_type_size)());
@@ -249,7 +249,7 @@ int zend_shared_alloc_startup(size_t requested_size)
ZSMMG(shared_memory_state).positions = (int *)zend_shared_alloc(sizeof(int) * ZSMMG(shared_segments_count));
if (!ZSMMG(shared_memory_state).positions) {
zend_accel_error(ACCEL_LOG_FATAL, "Insufficient shared memory!");
- return ALLOC_FAILURE;;
+ return ALLOC_FAILURE;
}
ZCG(locked) = 0;