Mercurial > hg > orthanc
diff OrthancServer/main.cpp @ 1965:877713b3a91c
fix possibly uninitialized variable
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 11 Apr 2016 10:27:15 +0200 |
parents | 22ddb22fce83 |
children | ebce5f456b8e |
line wrap: on
line diff
--- 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