com php-src: Remove compile warning: warning: unused variable ‘j’ [-Wunused-variable]: ext/openssl/ openssl.c
| From: | Christopher Jones | Date: | Tue, 20 Aug 2013 00:58:42 +0000 |
| Subject: | com php-src: Remove compile warning: warning: unused variable ‘j’ [-Wunused-variable]: ext/openssl/ openssl.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-73006@lists.php.net to get a copy of this message | ||
Commit: 1a00b9bd264ba2495930be05cd0ed2b1c13b8ef8
Author: Christopher Jones <sixd@php.net> Mon, 19 Aug 2013 17:58:42 -0700
Parents: 83469477e70cba8191a4698252fc83804e88322b
Branches: PHP-5.5 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=1a00b9bd264ba2495930be05cd0ed2b1c13b8ef8
Log:
Remove compile warning:
warning: unused variable ‘j’ [-Wunused-variable]
Changed paths:
M ext/openssl/openssl.c
Diff:
diff --git a/ext/openssl/openssl.c b/ext/openssl/openssl.c
index f9493c7..4a9fcbc 100644
--- a/ext/openssl/openssl.c
+++ b/ext/openssl/openssl.c
@@ -576,7 +576,7 @@ static void add_assoc_name_entry(zval * val, char * key, X509_NAME * name, int s
{
zval **data;
zval *subitem, *subentries;
- int i, j = -1;
+ int i;
char *sname;
int nid;
X509_NAME_ENTRY * ne;