diff options
author | Andrew Krieger <akrieger@fb.com> | 2017-03-03 16:17:24 -0800 |
---|---|---|
committer | ng0 <ng0@infotropique.org> | 2017-08-22 15:19:45 +0000 |
commit | 753d7975885f95df307dc4d3e39ac42ccd860854 (patch) | |
tree | 59ec658383fee8d76d7df373581299b0b46db2a5 /lib/gopher.c | |
parent | 74f4b9df7646ff3acf37c62b34fff60e6602d376 (diff) | |
download | gnurl-753d7975885f95df307dc4d3e39ac42ccd860854.tar.gz gnurl-753d7975885f95df307dc4d3e39ac42ccd860854.tar.bz2 gnurl-753d7975885f95df307dc4d3e39ac42ccd860854.zip |
fix potential use of uninitialized variables
MSVC with LTCG detects this at warning level 4.
Closes #1304
Diffstat (limited to 'lib/gopher.c')
-rw-r--r-- | lib/gopher.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gopher.c b/lib/gopher.c index 6b57d3519..e6d274648 100644 --- a/lib/gopher.c +++ b/lib/gopher.c @@ -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; |