Comment 1 for bug 305176

Revision history for this message
In , Joseph-codesourcery (joseph-codesourcery) wrote :

Subject: Re: New: can't voidify __attribute__((warn_unused_result))

On Tue, 20 Dec 2005, mueller at kde dot org wrote:

> casting to (void) doesn't avoid the unused_result warning. testcase:

Why do you think this is a bug? warn_unused_result is for cases where
"not checking the result is either a security problem or always a bug".