mirror of
https://github.com/curl/curl.git
synced 2026-07-24 09:37:25 +03:00
removed pedantic compiler warnings
This commit is contained in:
parent
3e5ba33e2d
commit
7b49d40bb0
3 changed files with 12 additions and 44 deletions
|
|
@ -44,6 +44,8 @@
|
|||
#include <curl/curl.h>
|
||||
#include <curl/types.h>
|
||||
#include <curl/easy.h>
|
||||
|
||||
#define _MPRINTF_REPLACE /* we want curl-functions instead of native ones */
|
||||
#include <curl/mprintf.h>
|
||||
|
||||
#include "writeout.h"
|
||||
|
|
@ -175,6 +177,8 @@ void ourWriteOut(CURL *curl, char *writeinfo)
|
|||
curl_easy_getinfo(curl, CURLINFO_SPEED_UPLOAD, &doubleinfo))
|
||||
fprintf(stream, "%.3f", doubleinfo);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue