Function calls without inputs cc4m_logo_inline

IDSTAT-3
TitleAdd empty parentheses to function calls without input arguments.
PriorityRecommended
Severity level9
DescriptionAdd empty parentheses to function calls without input arguments.
RationaleThis helps to emphasize the fact that they are function calls and not variables or properties.

Avoid:

x = rand * 2;

Instead use:

x = rand() * 2;