Avoid division by zero report by static analyzer.