Inspectopedia
 
2024.3

Unnecessary 'return' statement

Warning
New
Last modified: 03 December 2024

Reports an unnecessary return statement, that is, a return statement that returns no value and occurs just before the function would have "fallen through" the bottom. These statements may be safely removed.