5 Jan
2009
5 Jan
'09
3:06 a.m.
Vitaliy Margolen wrote:
titon barua wrote:
- write(*(This->fd), &event, sizeof(event)); + if (write(*(This->fd), &event, sizeof(event)) == -1) perror ( NULL ); What's the point of your patch? What part of the comment isn't clear to you?
GCC is complaining about the ignored return value.
As Alexandre implied in http://www.winehq.org/pipermail/wine-devel/2009-January/071769.html one should not fix these warnings casually. A real fix probably involves actually handing the error rather than printing a warning. The last thing we need is an army of people papering over compiler warnings. - Dan