On Wednesday 19 July 2006 12:06, Stefan Seyfried wrote: > On Wed, Jul 19, 2006 at 12:00:48PM +0200, Rafael J. Wysocki wrote: ]--snip--[ > > > +void set_vbe_mode(int mode) > > > +{ > > > + (void)do_set_mode(mode, 0); > > > +} > > > > I'd remove the (void) here. > > I think i did this due to a compiler warning (do_set_mode is int).
That would be a strange warning. Supposedly you can always discard a return value in C. ;-) Rafael ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel