From b8a6913e0965e5f492dfbe2b39b52ab5813bf08d Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 28 Oct 2002 19:20:59 +0000 Subject: prevent compiler warnings --- lib/getinfo.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/getinfo.c') diff --git a/lib/getinfo.c b/lib/getinfo.c index f2efbbaa6..01d6dda85 100644 --- a/lib/getinfo.c +++ b/lib/getinfo.c @@ -72,9 +72,9 @@ CURLcode Curl_initinfo(struct SessionHandle *data) CURLcode Curl_getinfo(struct SessionHandle *data, CURLINFO info, ...) { va_list arg; - long *param_longp; - double *param_doublep; - char **param_charp; + long *param_longp=NULL; + double *param_doublep=NULL; + char **param_charp=NULL; va_start(arg, info); switch(info&CURLINFO_TYPEMASK) { -- cgit v1.2.3