From 8c0b1dc3c5f2de037579b59f243c92a6e5b9567d Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Tue, 20 Feb 2007 14:26:15 +0000 Subject: compiler warning fix --- lib/getinfo.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/getinfo.c b/lib/getinfo.c index 5cf3bcacd..56b5d6f9f 100644 --- a/lib/getinfo.c +++ b/lib/getinfo.c @@ -75,7 +75,9 @@ CURLcode Curl_getinfo(struct SessionHandle *data, CURLINFO info, ...) double *param_doublep=NULL; char **param_charp=NULL; struct curl_slist **param_slistp=NULL; +#ifdef MSG_PEEK char buf; +#endif if(!data) return CURLE_BAD_FUNCTION_ARGUMENT; -- cgit v1.2.3