mirror of
https://github.com/curl/curl.git
synced 2026-04-14 22:31:41 +03:00
fix a bunch of MSVC compiler warnings
This commit is contained in:
parent
2be65bb0c5
commit
6b75d2c2df
41 changed files with 109 additions and 82 deletions
|
|
@ -21,6 +21,7 @@
|
|||
* KIND, either express or implied.
|
||||
*
|
||||
***************************************************************************/
|
||||
#include "setup.h"
|
||||
|
||||
#include <curl/curl.h>
|
||||
|
||||
|
|
@ -86,10 +87,10 @@ void Curl_cookie_clearsess(struct CookieInfo *cookies);
|
|||
|
||||
#if defined(CURL_DISABLE_HTTP) || defined(CURL_DISABLE_COOKIES)
|
||||
#define Curl_cookie_list(x) NULL
|
||||
#define Curl_cookie_loadfiles(x) do { } while (0)
|
||||
#define Curl_cookie_loadfiles(x) Curl_nop_stmt
|
||||
#define Curl_cookie_init(x,y,z,w) NULL
|
||||
#define Curl_cookie_cleanup(x) do { } while (0)
|
||||
#define Curl_flush_cookies(x,y)
|
||||
#define Curl_cookie_cleanup(x) Curl_nop_stmt
|
||||
#define Curl_flush_cookies(x,y) Curl_nop_stmt
|
||||
#else
|
||||
void Curl_flush_cookies(struct SessionHandle *data, int cleanup);
|
||||
void Curl_cookie_cleanup(struct CookieInfo *);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue