This rule is Obsolete | |
Synopsis: | The definition of a void function shall not end with a return statement |
Language: | C++ |
Severity Level: | 9 |
Category: | Control Flow |
Description: |
It is neither useful nor clarifying to have a return statement in a function returning void. |