com php-src: Accuracy: Zend/zend_closures.c
| From: | Tjerk Anne Meesters | Date: | Mon, 18 Aug 2014 13:50:05 +0000 |
| Subject: | com php-src: Accuracy: Zend/zend_closures.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-81156@lists.php.net to get a copy of this message | ||
Commit: 56e6a45c4177ace96e0a527d538dbd194f7f2886
Author: Andrea Faulds <ajf@ajf.me> Mon, 18 Aug 2014 14:50:05 +0100
Parents: 2f40631716aec538ce9c1c4ae0e71aed396aa2cd
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=56e6a45c4177ace96e0a527d538dbd194f7f2886
Log:
Accuracy
Changed paths:
M Zend/zend_closures.c
Diff:
diff --git a/Zend/zend_closures.c b/Zend/zend_closures.c
index b613c69..03fcf59 100644
--- a/Zend/zend_closures.c
+++ b/Zend/zend_closures.c
@@ -99,7 +99,7 @@ ZEND_METHOD(Closure, call) /* {{{ */
}
}
- /* This should never happen as this closure must, by definition, be a callable */
+ /* This should never happen as closures will always be callable */
if (zend_fcall_info_init(zclosure, 0, &fci, &fci_cache, NULL, NULL TSRMLS_CC) != SUCCESS)
{
ZEND_ASSERT(0);
}