From: Yang Tse Date: Mon, 23 May 2011 17:04:49 +0000 (+0200) Subject: compiler warning: fix X-Git-Tag: curl-7_21_7~89 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=328600e02b40f3fa50cebf2af99f243e787088eb;p=curl compiler warning: fix Fix variable declaration placement --- diff --git a/lib/http_ntlm.c b/lib/http_ntlm.c index cb7ef2c3b..bcb844208 100644 --- a/lib/http_ntlm.c +++ b/lib/http_ntlm.c @@ -949,7 +949,6 @@ CURLcode Curl_output_ntlm(struct connectdata *conn, SECURITY_STATUS status; ULONG attrs; TimeStamp tsDummy; /* For Windows 9x compatibility of SPPI calls */ - CURLcode res; type_2_desc.ulVersion = type_3_desc.ulVersion = SECBUFFER_VERSION; type_2_desc.cBuffers = type_3_desc.cBuffers = 1; @@ -993,6 +992,7 @@ CURLcode Curl_output_ntlm(struct connectdata *conn, size_t useroff; const char *user; size_t userlen; + CURLcode res; user = strchr(userp, '\\'); if(!user)