com php-src: Unused vars: ext/standard/password.c
| From: | Xinchen Hui | Date: | Mon, 14 Dec 2015 17:23:01 +0000 |
| Subject: | com php-src: Unused vars: ext/standard/password.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-90287@lists.php.net to get a copy of this message | ||
Commit: 3d3782c32859f1cd3433bc5f8ac69fd4d360bb65
Author: Xinchen Hui <laruence@gmail.com> Mon, 14 Dec 2015 09:23:01 -0800
Parents: 94f3887152dd749b63fca3e3509991bc6a50b813
Branches: PHP-7.0 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=3d3782c32859f1cd3433bc5f8ac69fd4d360bb65
Log:
Unused vars
Changed paths:
M ext/standard/password.c
Diff:
diff --git a/ext/standard/password.c b/ext/standard/password.c
index 6f0b31b..646f98f 100644
--- a/ext/standard/password.c
+++ b/ext/standard/password.c
@@ -110,8 +110,7 @@ static int php_password_salt_to64(const char *str, const size_t str_len, const s
static int php_password_make_salt(size_t length, char *ret) /* {{{ */
{
- int buffer_valid = 0;
- size_t i, raw_length;
+ size_t raw_length;
char *buffer;
char *result;