Commit a65e9eb
committed
COMP: Fix no-discard warning
itkShrinkDecimateImageFilter.hxx:184:42: warning: ignoring return value
of ‘bool
itk::ImageBase<VImageDimension>::TransformPhysicalPointToIndex(const
itk::Point<TCoordinate, VImageDimension>&, IndexType&) const [with
TCoordinate = double; unsigned int VImageDimension = 3; IndexType =
itk::Index<3>]’, declared with attribute ‘nodiscard’ [-Wunused-result]1 parent e334e83 commit a65e9eb
1 file changed
+4
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
171 | | - | |
172 | | - | |
| 171 | + | |
173 | 172 | | |
174 | 173 | | |
175 | 174 | | |
176 | | - | |
177 | 175 | | |
178 | 176 | | |
179 | | - | |
| 177 | + | |
180 | 178 | | |
181 | 179 | | |
182 | 180 | | |
| 181 | + | |
183 | 182 | | |
184 | | - | |
| 183 | + | |
185 | 184 | | |
186 | 185 | | |
187 | 186 | | |
| |||
0 commit comments