initialize fread callback pointer to avoid compiler warning

This commit is contained in:
Yang Tse 2009-06-09 00:49:34 +00:00
parent 312600fe9c
commit 16ae283fb4
3 changed files with 8 additions and 2 deletions

View file

@ -1425,6 +1425,7 @@ int Curl_FormInit(struct Form *form, struct FormData *formdata )
form->data = formdata;
form->sent = 0;
form->fp = NULL;
form->fread_func = ZERO_NULL;
return 0;
}