From 69c5d5c86ef62f4c09f2ebc4495eff08176945cb Mon Sep 17 00:00:00 2001 From: Erik Hofman Date: Mon, 19 Dec 2011 15:29:25 +0100 Subject: [PATCH] Intialize to prevent a 'may be used uninitialized' warning --- simgear/io/httpget.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simgear/io/httpget.cxx b/simgear/io/httpget.cxx index b4934b8d..3b0506c5 100644 --- a/simgear/io/httpget.cxx +++ b/simgear/io/httpget.cxx @@ -94,7 +94,7 @@ private: int main(int argc, char* argv[]) { HTTP::Client cl; - SGFile* outFile; + SGFile* outFile = 0; string proxy, proxyAuth; string_list headers; string url; -- 2.39.5