fix compiler warning

This commit is contained in:
Yang Tse 2011-07-26 19:42:16 +02:00
parent f1586cb477
commit 78bbd0eecf
5 changed files with 19 additions and 9 deletions

View file

@ -1,3 +1,5 @@
#ifndef HEADER_CURL_GSSAPI_H
#define HEADER_CURL_GSSAPI_H
/***************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
@ -49,3 +51,5 @@ OM_uint32 Curl_gss_init_sec_context(
OM_uint32 * ret_flags);
#endif /* HAVE_GSSAPI */
#endif /* HEADER_CURL_GSSAPI_H */

View file

@ -1631,7 +1631,7 @@ CURLcode Curl_http(struct connectdata *conn, bool *done)
curl_off_t included_body = 0;
const char *httpstring;
Curl_send_buffer *req_buffer;
curl_off_t postsize; /* off_t type to be able to hold a large file size */
curl_off_t postsize = 0; /* off_t type to be able to hold a large file size */
int seekerr = CURL_SEEKFUNC_OK;
/* Always consider the DO phase done after this function call, even if there