aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2009-06-09 00:49:34 +0000
committerYang Tse <yangsita@gmail.com>2009-06-09 00:49:34 +0000
commit16ae283fb46a852a70a4ef73bb3254239e59ea1e (patch)
tree0ec32fc0385ffe282a16affb1ce0527999964152 /lib
parent312600fe9ce4e7a0345fe90ff690c580dedda8e1 (diff)
initialize fread callback pointer to avoid compiler warning
Diffstat (limited to 'lib')
-rw-r--r--lib/formdata.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/formdata.c b/lib/formdata.c
index aa644ecb2..f2a4892bf 100644
--- a/lib/formdata.c
+++ b/lib/formdata.c
@@ -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;
}