lib: remove unused code

This fixes the following clang warnings:
macro is not used [-Wunused-macros]
will never be executed [-Wunreachable-code]

Closes https://github.com/curl/curl/pull/1448
This commit is contained in:
Marcel Raad 2017-04-25 08:36:13 +02:00
parent 55c3c02e59
commit b851421642
No known key found for this signature in database
GPG key ID: B7F13D981BBF1607
5 changed files with 5 additions and 12 deletions

View file

@ -54,9 +54,6 @@ static char *formboundary(struct Curl_easy *data);
extensions. */
#define HTTPPOST_CONTENTTYPE_DEFAULT "application/octet-stream"
#define FORM_FILE_SEPARATOR ','
#define FORM_TYPE_SEPARATOR ';'
#define HTTPPOST_PTRNAME CURL_HTTPPOST_PTRNAME
#define HTTPPOST_FILENAME CURL_HTTPPOST_FILENAME
#define HTTPPOST_PTRCONTENTS CURL_HTTPPOST_PTRCONTENTS