Page MenuHomePhabricator

Fix warnings in VolumeVisualizationImagePreprocessor
Closed, ResolvedPublic

Description

These two warnings are important:

d:\home\jochen\mitksource\mitk\modules\mitkext\algorithms\mitkvolumevisualizationimagepreprocessor.cpp(367) : warning C4715: 'mitk::VolumeVisualizationImagePreprocessor::GetHistogrammValueFromBottom' : not all control paths return a value
d:\home\jochen\mitksource\mitk\modules\mitkext\algorithms\mitkvolumevisualizationimagepreprocessor.cpp(376) : warning C4715: 'mitk::VolumeVisualizationImagePreprocessor::GetHistogrammValueFromTop' : not all control paths return a value

Please implement a meaningful else path respectively the case that the if clause is never true in the for loop.