Re: [Powertop] [Warning fixes 2/6] Build with -Wno-unused-result for now, it seems at least some of these cases are intentional (see ml discussion)
Magnus Fromreide <magfr at lysator.liu.se> Fri, 24 Aug 2012 19:38:07 +0200
| Newsgroups | dev.linux.lists.powertop |
|---|---|
| Message-ID | <1345829887.2831.1.camel@sara> |
On Fri, 2012-08-24 at 18:53 +0200, Joerg Mayer wrote: > Note: Is this this flag supported on all compilers? Please don't. If you really mean to ignore the result values then the canonical thing to do is to cast them to (void) /MF