Skip to content

Commit

Permalink
BUG: Remove no output warning in ImageSink filters
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
blowekamp committed Jul 31, 2020
1 parent efb4563 commit 342098e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Modules/Core/Common/src/itkProcessObject.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1181,7 +1181,6 @@ ProcessObject ::GetReleaseDataFlag() const
{
return this->GetPrimaryOutput()->GetReleaseDataFlag();
}
itkWarningMacro(<< "Output doesn't exist!");
return false;
}

Expand Down

0 comments on commit 342098e

Please sign in to comment.