com php-src: Fixed compilation warning: ext/opcache/Optimizer/b lock_pass.c
| From: | Anatol Belski | Date: | Wed, 16 Oct 2013 08:16:10 +0000 |
| Subject: | com php-src: Fixed compilation warning: ext/opcache/Optimizer/b lock_pass.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-73566@lists.php.net to get a copy of this message | ||
Commit: e8b7f9f011103e47c7aceffb3f1645772e5b7679
Author: Dmitry Stogov <dmitry@zend.com> Mon, 26 Aug 2013 09:48:10 +0400
Committer: Anatol Belski <ab@php.net> Wed, 16 Oct 2013 01:16:10 -0700
Parents: 62b0f1d0fc79d98ddf03eacb5be0d0faabd992a0
Branches: str_size_and_int64
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=e8b7f9f011103e47c7aceffb3f1645772e5b7679
Log:
Fixed compilation warning
Changed paths:
M ext/opcache/Optimizer/block_pass.c
Diff:
diff --git a/ext/opcache/Optimizer/block_pass.c b/ext/opcache/Optimizer/block_pass.c
index 7f874e7..43ae304 100644
--- a/ext/opcache/Optimizer/block_pass.c
+++ b/ext/opcache/Optimizer/block_pass.c
@@ -562,7 +562,6 @@ static void strip_nop(zend_code_block *block)
{
zend_op *opline = block->start_opline;
zend_op *end, *new_end;
- int new_len = 0;
/* remove leading NOPs */
while (block->len > 0 && block->start_opline->opcode == ZEND_NOP) {