From 7b1430c0b4d14043cf0c1cc350399b1b306f3e49 Mon Sep 17 00:00:00 2001 From: Andrew Krieger Date: Fri, 3 Mar 2017 16:17:24 -0800 Subject: fix potential use of uninitialized variables MSVC with LTCG detects this at warning level 4. Closes #1304 --- lib/gopher.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/gopher.c') 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; -- cgit v1.2.3