On Mon, 2009-01-05 at 08:47 +0100, Michael Karcher wrote: > Am Montag, den 05.01.2009, 11:06 +0600 schrieb titon barua: > > > GCC is complaining about the ignored return value. > > > > > As the code says /* we dont care */ but gcc prints warnings, is it ok > > with just > > "if (write(*(This->fd), &event, sizeof(event)));" > > > > Gcc wont complain and the code is as before? > > what about > (void)write(*(This->fd), &event, sizeof(event)); > > Does that work to? Seems nicer than the if. > > Regards, > Michael Karcher Compiler warning remains.
- Re: dlls/dinput/effect_linuxinput.c: Check return value o... Vitaliy Margolen
- Re: dlls/dinput/effect_linuxinput.c: Check return va... Austin English
- Re: dlls/dinput/effect_linuxinput.c: Check retur... titon barua
- Re: dlls/dinput/effect_linuxinput.c: Check r... Michael Karcher
- Re: dlls/dinput/effect_linuxinput.c: Che... titon barua
- Re: dlls/dinput/effect_linuxinput.c... Damjan Jovanovic
- Re: dlls/dinput/effect_linuxinput.c: Check return va... James McKenzie
- Re: dlls/dinput/effect_linuxinput.c: Check return va... Vitaliy
- re: dlls/dinput/effect_linuxinput.c: Check return va... Dan Kegel
- Re: dlls/dinput/effect_linuxinput.c: Check retur... Dan Kegel
- Re: dlls/dinput/effect_linuxinput.c: Check r... Damjan Jovanovic