Commit 329f8fa
committed
BUG: Fix backwards nullptr test before SetRequestedRegion
The requested region of the input can only be set if the pointer to
the input is not nullpr.
```txt
LesionSizingToolkit/include/itkLesionSegmentationImageFilter8.hxx:105:33:
warning: ‘this’ pointer is null [-Wnonnull]
inputPtr->SetRequestedRegion(inputPtr->GetLargestPossibleRegion());
```1 parent 6f8b5bb commit 329f8fa
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
| 100 | + | |
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| |||
0 commit comments