com php-src: Remove superfluous variable reinit: ext/openssl/openssl.c
| From: | Joe Watkins | Date: | Sat, 07 Jan 2017 09:43:05 +0000 |
| Subject: | com php-src: Remove superfluous variable reinit: ext/openssl/openssl.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-96594@lists.php.net to get a copy of this message | ||
Commit: 21f287915cfda72db3097965d1ee6e987c21cd50
Author: Leigh <leigh@php.net> Sat, 7 Jan 2017 09:43:05 +0000
Parents: 62e9e1fecd1f2fd9981244889389dfd3f92eb4d2
Branches: PHP-7.0 PHP-7.1 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=21f287915cfda72db3097965d1ee6e987c21cd50
Log:
Remove superfluous variable reinit
Changed paths:
M ext/openssl/openssl.c
Diff:
diff --git a/ext/openssl/openssl.c b/ext/openssl/openssl.c
index 2e90c7c..d7091b8 100644
--- a/ext/openssl/openssl.c
+++ b/ext/openssl/openssl.c
@@ -710,7 +710,6 @@ static void add_assoc_name_entry(zval * val, char * key, X509_NAME * name, int s
if (needs_free) {
/* ASN1_STRING_to_UTF8(3): The buffer out should be freed using free(3) */
free(to_add);
- needs_free = 0;
}
}