Lately, I started using lint for static code analysis.
One of the warning I get sometimes is regarding this issue.
Let\'s say for instance that I\'ve got the following funct
It is entirely legal and acceptable to write code that ignores the return value in some cases. The program below has very little reason to check the return value of printf().
int main(void) {
printf("Hello world\n");
return 0;
}