Closed elfring closed 9 years ago
Yeap, this should be done.
I suggest to avoid ignorance of return values a bit more.
Are you interested to apply aspect-oriented software development? How do you think about to encapsulate error detection and corresponding exception handling as a reusable aspect in your software?
__attribute__((warn_unused_result))
"?
Would you like to add more error handling for return values from functions like the following?