R1705 no-else-returnΒΆ

Message

'Unnecessary "%s" after "return"'

Description

Used in order to highlight an unnecessary block of code following an if containing a return statement. As such, it will warn when it encounters an else following a chain of ifs, all of them containing a return statement.