com php-src: Unused variable copystr: ext/curl/interface.c
| From: | Xinchen Hui | Date: | Wed, 21 Nov 2012 04:30:03 +0000 |
| Subject: | com php-src: Unused variable copystr: ext/curl/interface.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-70565@lists.php.net to get a copy of this message | ||
Commit: e54970aaf125c5ee3b3faef5ba0cfaabc5e050d6
Author: Xinchen Hui <laruence@php.net> Wed, 21 Nov 2012 12:30:03 +0800
Parents: 111aa9fd2ecbfcc1d8048dca96932b3b954614bf
Branches: PHP-5.4
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=e54970aaf125c5ee3b3faef5ba0cfaabc5e050d6
Log:
Unused variable copystr
copystr is declared again blow
Changed paths:
M ext/curl/interface.c
Diff:
diff --git a/ext/curl/interface.c b/ext/curl/interface.c
index 00dbfd3..dbe4896 100644
--- a/ext/curl/interface.c
+++ b/ext/curl/interface.c
@@ -1836,10 +1836,6 @@ static int _php_curl_setopt(php_curl *ch, long option, zval **zvalue, zval
*retu
case CURLOPT_SSH_PRIVATE_KEYFILE:
#endif
{
-#if LIBCURL_VERSION_NUM < 0x071100
- char *copystr = NULL;
-#endif
-
convert_to_string_ex(zvalue);
#if LIBCURL_VERSION_NUM >= 0x071300
if (