]> git.mxchange.org Git - simgear.git/commitdiff
Intialize to prevent a 'may be used uninitialized' warning
authorErik Hofman <erik@ehofman.com>
Mon, 19 Dec 2011 14:29:25 +0000 (15:29 +0100)
committerErik Hofman <erik@ehofman.com>
Mon, 19 Dec 2011 14:29:25 +0000 (15:29 +0100)
simgear/io/httpget.cxx

index b4934b8dc04de21ae5004dc6271d256c62849f04..3b0506c5889047c708709a8707760135c6f3bcce 100644 (file)
@@ -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;