Commit:    e54970aaf125c5ee3b3faef5ba0cfaabc5e050d6
Author:    Xinchen Hui <larue...@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 (


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to