Skip to content
Snippets Groups Projects
Commit 217556cb authored by callum_linden's avatar callum_linden
Browse files

Update to build on Xcode 6.0: remove unused code

parent 6a15d2d9
No related branches found
No related tags found
No related merge requests found
......@@ -91,7 +91,6 @@ char * os_strltrim(char * str);
void os_strlower(char * str);
// Error testing and reporting for libcurl status codes
void check_curl_easy_code(CURLcode code);
void check_curl_easy_code(CURLcode code, int curl_setopt_option);
} // end anonymous namespace
......@@ -1109,18 +1108,4 @@ void check_curl_easy_code(CURLcode code, int curl_setopt_option)
}
}
void check_curl_easy_code(CURLcode code)
{
if (CURLE_OK != code)
{
// Comment from old llcurl code which may no longer apply:
//
// linux appears to throw a curl error once per session for a bad initialization
// at a pretty random time (when enabling cookies).
LL_WARNS("CoreHttp") << "libcurl error detected: " << curl_easy_strerror(code)
<< LL_ENDL;
}
}
} // end anonymous namespace
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment