From 342098e460f88ddc5357d716542c0c7bef90c56b Mon Sep 17 00:00:00 2001 From: Bradley Lowekamp Date: Thu, 30 Jul 2020 16:12:58 -0400 Subject: [PATCH] BUG: Remove no output warning in ImageSink filters Filters derived from the ImageSink class frequently do not have a primary output. This warning was emitted erroneously during the PrintSelf method. This issue was reported in SimpleITK/SimpleITK#1141. --- Modules/Core/Common/src/itkProcessObject.cxx | 1 - 1 file changed, 1 deletion(-) diff --git a/Modules/Core/Common/src/itkProcessObject.cxx b/Modules/Core/Common/src/itkProcessObject.cxx index 7cbe6338d20..0644d554182 100644 --- a/Modules/Core/Common/src/itkProcessObject.cxx +++ b/Modules/Core/Common/src/itkProcessObject.cxx @@ -1181,7 +1181,6 @@ ProcessObject ::GetReleaseDataFlag() const { return this->GetPrimaryOutput()->GetReleaseDataFlag(); } - itkWarningMacro(<< "Output doesn't exist!"); return false; }