com php-src: Mark label as potentially unused: ext/opcache/shar ed_alloc_mmap.c
| From: | Nikita Popov | Date: | Wed, 12 Jun 2019 14:47:48 +0000 |
| Subject: | com php-src: Mark label as potentially unused: ext/opcache/shar ed_alloc_mmap.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-106742@lists.php.net to get a copy of this message | ||
Commit: ff8002fc7c3cbf9ee01d6d68cccbbd9460314ce4
Author: Nikita Popov <nikita.ppv@gmail.com> Wed, 12 Jun 2019 16:47:48 +0200
Parents: 63171d88f2b1f45840d0c63072cde0735b6f2764
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=ff8002fc7c3cbf9ee01d6d68cccbbd9460314ce4
Log:
Mark label as potentially unused
Changed paths:
M ext/opcache/shared_alloc_mmap.c
Diff:
diff --git a/ext/opcache/shared_alloc_mmap.c b/ext/opcache/shared_alloc_mmap.c
index 266fbeb..8f900c1 100644
--- a/ext/opcache/shared_alloc_mmap.c
+++ b/ext/opcache/shared_alloc_mmap.c
@@ -91,7 +91,7 @@ static int create_segments(size_t requested_size, zend_shared_segment ***shared_
return ALLOC_FAILURE;
}
-success:
+success: ZEND_ATTRIBUTE_UNUSED;
*shared_segments_count = 1;
*shared_segments_p = (zend_shared_segment **) calloc(1, sizeof(zend_shared_segment) + sizeof(void
*));
if (!*shared_segments_p) {