# HG changeset patch # User Sebastien Jodogne # Date 1460363235 -7200 # Node ID 877713b3a91c451b4dfe41451f2ae75fc5c0ebcd # Parent 5a80fb3402e03b739e4c0eceb572e85cbb82127b fix possibly uninitialized variable diff -r 5a80fb3402e0 -r 877713b3a91c OrthancServer/main.cpp --- a/OrthancServer/main.cpp Fri Apr 08 09:09:01 2016 +0200 +++ b/OrthancServer/main.cpp Mon Apr 11 10:27:15 2016 +0200 @@ -777,7 +777,7 @@ LOG(WARNING) << "DICOM server listening with AET " << dicomServer.GetApplicationEntityTitle() << " on port: " << dicomServer.GetPortNumber(); - bool restart; + bool restart = false; ErrorCode error = ErrorCode_Success; try @@ -924,7 +924,7 @@ } #endif - bool restart; + bool restart = false; ErrorCode error = ErrorCode_Success; try