com php-src: Fixed compilation warning: ext/mysqlnd/mysqlnd_a uth.c
| From: | Dmitry Stogov | Date: | Fri, 20 Jun 2014 06:32:05 +0000 |
| Subject: | com php-src: Fixed compilation warning: ext/mysqlnd/mysqlnd_a uth.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-78998@lists.php.net to get a copy of this message | ||
Commit: 3f11ddcfe33a4156cd5338741ee901d8d265655a
Author: Dmitry Stogov <dmitry@zend.com> Fri, 20 Jun 2014 10:32:05 +0400
Parents: 7e9176731f299335a65602c298e1683543e88b6d
Branches: phpng
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=3f11ddcfe33a4156cd5338741ee901d8d265655a
Log:
Fixed compilation warning
Changed paths:
M ext/mysqlnd/mysqlnd_auth.c
Diff:
diff --git a/ext/mysqlnd/mysqlnd_auth.c b/ext/mysqlnd/mysqlnd_auth.c
index 326fc23..1ac0593 100644
--- a/ext/mysqlnd/mysqlnd_auth.c
+++ b/ext/mysqlnd/mysqlnd_auth.c
@@ -485,7 +485,6 @@ mysqlnd_sha256_get_rsa_key(MYSQLND_CONN_DATA * conn,
TSRMLS_DC)
{
RSA * ret = NULL;
- int len;
const char * fname = (net_options->sha256_server_public_key &&
net_options->sha256_server_public_key[0] != '\0')?
net_options->sha256_server_public_key:
MYSQLND_G(sha256_server_public_key);