summaryrefslogtreecommitdiff
path: root/lib/dict.c
diff options
context:
space:
mode:
authorAndrew Krieger <akrieger@fb.com>2017-03-03 16:17:24 -0800
committerDaniel Stenberg <daniel@haxx.se>2017-03-04 21:37:03 +0100
commit7b1430c0b4d14043cf0c1cc350399b1b306f3e49 (patch)
treee50a1498760ae4ef3c110acd0e5cb74d9c139de4 /lib/dict.c
parent658b9a200ae2b31dfe7ede957fb5aaa127386205 (diff)
downloadgnurl-7b1430c0b4d14043cf0c1cc350399b1b306f3e49.tar.gz
gnurl-7b1430c0b4d14043cf0c1cc350399b1b306f3e49.tar.bz2
gnurl-7b1430c0b4d14043cf0c1cc350399b1b306f3e49.zip
fix potential use of uninitialized variables
MSVC with LTCG detects this at warning level 4. Closes #1304
Diffstat (limited to 'lib/dict.c')
-rw-r--r--lib/dict.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dict.c b/lib/dict.c
index 69defc4cc..451ec389a 100644
--- a/lib/dict.c
+++ b/lib/dict.c
@@ -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;