]> granicus.if.org Git - php/commitdiff
Unused variable copystr
authorXinchen Hui <laruence@php.net>
Wed, 21 Nov 2012 04:30:03 +0000 (12:30 +0800)
committerXinchen Hui <laruence@php.net>
Wed, 21 Nov 2012 04:30:03 +0000 (12:30 +0800)
copystr is declared again blow

ext/curl/interface.c

index 00dbfd3d2522fe246593ee56165821bdb171365b..dbe48962dd845ca3932652ba20222beeadcd8332 100644 (file)
@@ -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 (