com php-src: Unused value casting should be `void`: sapi/phpdbg/phpdbg.c
| From: | Reeze Xia | Date: | Sat, 12 Dec 2015 15:25:30 +0000 |
| Subject: | com php-src: Unused value casting should be `void`: sapi/phpdbg/phpdbg.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-90241@lists.php.net to get a copy of this message | ||
Commit: 95ad414658c92e375ea4e5ef74505a1c7d9da350
Author: Reeze Xia <reeze@php.net> Sat, 12 Dec 2015 23:25:30 +0800
Parents: e4a48ab6b3bf042632502b946f64146539d85c25
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=95ad414658c92e375ea4e5ef74505a1c7d9da350
Log:
Unused value casting should be
void
Changed paths:
M sapi/phpdbg/phpdbg.c
Diff:
diff --git a/sapi/phpdbg/phpdbg.c b/sapi/phpdbg/phpdbg.c
index af1bfc7..39279c4 100644
--- a/sapi/phpdbg/phpdbg.c
+++ b/sapi/phpdbg/phpdbg.c
@@ -1338,7 +1338,7 @@ int main(int argc, char **argv) /* {{{ */
#ifdef ZTS
tsrm_startup(1, 1, 0, NULL);
- (void*)ts_resource(0);
+ (void)ts_resource(0);
ZEND_TSRMLS_CACHE_UPDATE();
#endif