changeset 1251:96d4f4fee5bb broker

fix uninitialized variable in LookupTableTextureSceneLayer
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 08 Jan 2020 10:33:11 +0100
parents a8248b08115c
children 227ebd71802f
files Framework/Scene2D/LookupTableTextureSceneLayer.cpp
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Framework/Scene2D/LookupTableTextureSceneLayer.cpp	Tue Jan 07 20:22:02 2020 +0100
+++ b/Framework/Scene2D/LookupTableTextureSceneLayer.cpp	Wed Jan 08 10:33:11 2020 +0100
@@ -27,7 +27,8 @@
 
 namespace OrthancStone
 {
-  LookupTableTextureSceneLayer::LookupTableTextureSceneLayer(const Orthanc::ImageAccessor& texture)
+  LookupTableTextureSceneLayer::LookupTableTextureSceneLayer(const Orthanc::ImageAccessor& texture) :
+    applyLog_(false)
   {
     {
       std::auto_ptr<Orthanc::ImageAccessor> t(