diff options
author | Yang Tse <yangsita@gmail.com> | 2011-05-21 13:46:37 +0200 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2011-05-21 13:46:37 +0200 |
commit | 004d84fcc17e3cb46a5cfed694ddcd122bd2f4ba (patch) | |
tree | 829a07526b6670842237e276cd559c2d1336e381 /lib | |
parent | 02f3ff3b0a8fc000270e274d540b65648ef81201 (diff) |
compiler warning: fix
Fix compiler warning: empty body in an if-statement
Diffstat (limited to 'lib')
-rw-r--r-- | lib/cookie.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/cookie.h b/lib/cookie.h index 6b159b238..124151ca6 100644 --- a/lib/cookie.h +++ b/lib/cookie.h @@ -1,5 +1,5 @@ -#ifndef __COOKIE_H -#define __COOKIE_H +#ifndef HEADER_CURL_COOKIE_H +#define HEADER_CURL_COOKIE_H /*************************************************************************** * _ _ ____ _ * Project ___| | | | _ \| | @@ -98,7 +98,7 @@ int Curl_cookie_output(struct CookieInfo *, const char *); #define Curl_cookie_list(x) NULL #define Curl_cookie_loadfiles(x) do { } while (0) #define Curl_cookie_init(x,y,z,w) NULL -#define Curl_cookie_cleanup(x) +#define Curl_cookie_cleanup(x) do { } while (0) #define Curl_flush_cookies(x,y) #else void Curl_flush_cookies(struct SessionHandle *data, int cleanup); @@ -109,4 +109,4 @@ struct curl_slist *Curl_cookie_list(struct SessionHandle *data); void Curl_cookie_loadfiles(struct SessionHandle *data); #endif -#endif +#endif /* HEADER_CURL_COOKIE_H */ |