From: Daniel Stenberg Date: Mon, 28 Oct 2002 19:21:30 +0000 (+0000) Subject: prevent compiler warning X-Git-Tag: curl-7_10_2~40 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6a88c8d845bc5aa6b0170f4194bc8cbde36976e0;p=curl prevent compiler warning --- diff --git a/lib/formdata.c b/lib/formdata.c index d8df7e3da..c883ec78c 100644 --- a/lib/formdata.c +++ b/lib/formdata.c @@ -637,7 +637,7 @@ CURLFORMcode FormAdd(struct curl_httppost **httppost, struct curl_httppost *post = NULL; CURLformoption option; struct curl_forms *forms = NULL; - char *array_value; /* value read from an array */ + char *array_value=NULL; /* value read from an array */ /* This is a state variable, that if TRUE means that we're parsing an array that we got passed to us. If FALSE we're parsing the input