From b4ece2ddf57cad3f8ed4c1d424503ac477ac3f7e Mon Sep 17 00:00:00 2001 From: Mathieu Malaterre Date: Wed, 17 Jan 2024 05:13:31 -0800 Subject: [PATCH] Default init variable --- Source/MediaStorageAndFileFormat/gdcmSplitMosaicFilter.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/MediaStorageAndFileFormat/gdcmSplitMosaicFilter.cxx b/Source/MediaStorageAndFileFormat/gdcmSplitMosaicFilter.cxx index d3c43ebf8..1b1e6e6c9 100644 --- a/Source/MediaStorageAndFileFormat/gdcmSplitMosaicFilter.cxx +++ b/Source/MediaStorageAndFileFormat/gdcmSplitMosaicFilter.cxx @@ -342,7 +342,7 @@ bool SplitMosaicFilter::Split() return false; } const unsigned int div = (unsigned int )ceil(sqrt( (double)dims[2]) ); - bool inverted; + bool inverted = false; double normal[3]; bool hasOriginCSA = true; bool hasNormalCSA = true;