prevent compiler warning
authorDaniel Stenberg <daniel@haxx.se>
Mon, 28 Oct 2002 19:21:30 +0000 (19:21 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 28 Oct 2002 19:21:30 +0000 (19:21 +0000)
lib/formdata.c

index d8df7e3..c883ec7 100644 (file)
@@ -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