diff --git a/PWGHF/TableProducer/trackIndexSkimCreator.cxx b/PWGHF/TableProducer/trackIndexSkimCreator.cxx index 8bc26864059..f95eb86a58a 100644 --- a/PWGHF/TableProducer/trackIndexSkimCreator.cxx +++ b/PWGHF/TableProducer/trackIndexSkimCreator.cxx @@ -1884,9 +1884,8 @@ struct HfTrackIndexSkimCreator { isSelected = 0; if (config.debug) { CLRBIT(cutStatus, 0); - } else { - return isSelected; } + return isSelected; } // D0 mass