com php-src: - Value stored to var is never used: ext/spl/spl _directory.c
| From: | Felipe Pena | Date: | Sun, 19 Aug 2012 15:55:38 +0000 |
| Subject: | com php-src: - Value stored to var is never used: ext/spl/spl _directory.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-69878@lists.php.net to get a copy of this message | ||
Commit: 6cd0e446dd93b5232b49c6248102b77b17865904
Author: Felipe Pena <felipensp@gmail.com> Sun, 19 Aug 2012 12:55:38 -0300
Parents: 001966c754f67f36871507e70e2ec1af5a9816bd
Branches: PHP-5.3 PHP-5.4 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=6cd0e446dd93b5232b49c6248102b77b17865904
Log:
- Value stored to var is never used
Changed paths:
M ext/spl/spl_directory.c
Diff:
diff --git a/ext/spl/spl_directory.c b/ext/spl/spl_directory.c
index 4f8edb5..8c1810e 100755
--- a/ext/spl/spl_directory.c
+++ b/ext/spl/spl_directory.c
@@ -434,7 +434,6 @@ static spl_filesystem_object * spl_filesystem_object_create_info(spl_filesystem_
if (file_path && !use_copy) {
efree(file_path);
}
- use_copy = 1;
file_path_len = 1;
file_path = "/";
#endif