Skip to content

Commit

Permalink
COMP: Fix warning: unused variable 'compensatedSum' [-Wunused-variable]
Browse files Browse the repository at this point in the history
This warning appeared on ITK.macOS Azure.Mac-1676593025693/Darwin-Build9696,
Apple clang version 13.0.0 (clang-1300.0.29.30), just after _defaulting_ the
default-constructor of `itk::CompensatedSummation`.
  • Loading branch information
N-Dekker authored and dzenanz committed Feb 23, 2023
1 parent 015e936 commit a51d204
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Modules/Core/Common/test/itkCompensatedSummationTest2.cxx
Expand Up @@ -71,7 +71,6 @@ class CompensatedSummationTest2Associate
void
ThreadedExecution(const DomainType & subdomain, const itk::ThreadIdType threadId) override
{
itk::CompensatedSummation<double> compensatedSum;
for (DomainType::IndexValueType i = subdomain[0]; i <= subdomain[1]; ++i)
{
double value = 1.0 / 7;
Expand Down

0 comments on commit a51d204

Please sign in to comment.