aboutsummaryrefslogtreecommitdiff
path: root/lib/cookie.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2007-03-25 02:30:58 +0000
committerYang Tse <yangsita@gmail.com>2007-03-25 02:30:58 +0000
commitf08ac8683418e2d241f12661521f003eef902720 (patch)
tree048a098cde3ce79ad7322d219a3b98050073dc36 /lib/cookie.c
parentd6eca8922960f2e3bf2cd07eef3eebbdb7ee265a (diff)
fix compiler warning
Diffstat (limited to 'lib/cookie.c')
-rw-r--r--lib/cookie.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/cookie.c b/lib/cookie.c
index 41a366d2d..4a33845ab 100644
--- a/lib/cookie.c
+++ b/lib/cookie.c
@@ -188,6 +188,10 @@ Curl_cookie_add(struct SessionHandle *data,
bool replace_old = FALSE;
bool badcookie = FALSE; /* cookies are good by default. mmmmm yummy */
+#ifdef CURL_DISABLE_VERBOSE_STRINGS
+ (void)data;
+#endif
+
/* First, alloc and init a new struct for it */
co = (struct Cookie *)calloc(sizeof(struct Cookie), 1);
if(!co)