Commit bca24e6a authored by Guillaume Pasero's avatar Guillaume Pasero

COV: unreachable code, prefer itkNotUsed macro

parent ece899c7
......@@ -163,10 +163,9 @@ protected:
}
virtual void TrainClassification() = 0;
/** Predict values using the model */
virtual TargetSampleType PredictRegression(const InputSampleType& input) const
virtual TargetSampleType PredictRegression(const InputSampleType& itkNotUsed(input)) const
{
itkGenericExceptionMacro(<< "Regression mode not implemented.");
(void)input;
}
virtual TargetSampleType PredictClassification(const InputSampleType& input, ConfidenceValueType *quality = NULL) const = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment