Exit if there are no specified.
Small refactoring in DiffCalculator.