mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
fix potential use of uninitialized variables
MSVC with LTCG detects this at warning level 4. Closes #1304
This commit is contained in:
parent
658b9a200a
commit
7b1430c0b4
@ -92,7 +92,7 @@ const struct Curl_handler Curl_handler_dict = {
|
||||
|
||||
static char *unescape_word(struct Curl_easy *data, const char *inputbuff)
|
||||
{
|
||||
char *newp;
|
||||
char *newp = NULL;
|
||||
char *dictp;
|
||||
char *ptr;
|
||||
size_t len;
|
||||
|
@ -78,7 +78,7 @@ static CURLcode gopher_do(struct connectdata *conn, bool *done)
|
||||
|
||||
curl_off_t *bytecount = &data->req.bytecount;
|
||||
char *path = data->state.path;
|
||||
char *sel;
|
||||
char *sel = NULL;
|
||||
char *sel_org = NULL;
|
||||
ssize_t amount, k;
|
||||
size_t len;
|
||||
|
Loading…
Reference in New Issue
Block a user