You do not need the else
branch of the if
, if there is nothing that you
want to do if the boolean expression evaluates to false
.
You can learn more about this in:
Tags: