From: Erik Hofman Date: Mon, 19 Dec 2011 14:29:25 +0000 (+0100) Subject: Intialize to prevent a 'may be used uninitialized' warning X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=69c5d5c86ef62f4c09f2ebc4495eff08176945cb;p=simgear.git Intialize to prevent a 'may be used uninitialized' warning --- 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;