Pattern: Unnecessary local variable
Issue: -
Do not declare a variable only to return it from the function on the next line. It is always less code to simply return the expression that initializes the variable.
Pattern: Unnecessary local variable
Issue: -
Do not declare a variable only to return it from the function on the next line. It is always less code to simply return the expression that initializes the variable.