com php-src: - Value stored to var is never used: ext/phar/util.c
| From: | Felipe Pena | Date: | Sun, 19 Aug 2012 18:09:14 +0000 |
| Subject: | com php-src: - Value stored to var is never used: ext/phar/util.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-69884@lists.php.net to get a copy of this message | ||
Commit: f4054afe40bd2b1876832b01f6cbae8f8236d2aa
Author: Felipe Pena <felipensp@gmail.com> Sun, 19 Aug 2012 15:09:14 -0300
Parents: 3dd256a67b61a995b580cce762a46be689ea34b1
Branches: PHP-5.3 PHP-5.4 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=f4054afe40bd2b1876832b01f6cbae8f8236d2aa
Log:
- Value stored to var is never used
Changed paths:
M ext/phar/util.c
Diff:
diff --git a/ext/phar/util.c b/ext/phar/util.c
index 9797ec8..cc44574 100644
--- a/ext/phar/util.c
+++ b/ext/phar/util.c
@@ -211,8 +211,6 @@ int phar_mount_entry(phar_archive_data *phar, char *filename, int filename_len,
return FAILURE;
}
#endif
-
- filename_len = strlen(entry.tmp);
filename = entry.tmp;
/* only check openbasedir for files, not for phar streams */