Commit 3c50e6b1 authored by Julien Michel's avatar Julien Michel
Browse files

COV: Fixing coverity issue 1350749 (Uninitialized variables)

parent 5bb2ace9
......@@ -304,6 +304,9 @@ int otbOGRDataToSamplePositionFilterPattern(int argc, char* argv[])
otb::PatternSampler::ParameterType param1, param2, param3;
param1.Seed = 0UL;
param1.MaxPatternSize=0UL;
param1.Pattern1 = std::vector<bool>();
param1.Pattern2 = std::vector<bool>();
param2 = param1;
param3 = param1;
otb::PatternSampler::ImportPatterns(patternClass1,param1);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment