diff options
| author | Alexander Barton <alex@barton.de> | 2010-04-09 20:08:47 +0200 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2010-04-09 20:14:11 +0200 |
| commit | 025342fe46ae504a08be8c642901ec7eb7c4fccb (patch) | |
| tree | e9fe13bdf67c1b2586de3d3e5ac2668d7e47e01e /doc | |
| parent | 628c6c962b1054de4c27304f53c4ac7c50c79a11 (diff) | |
| download | ngircd-025342fe46ae504a08be8c642901ec7eb7c4fccb.tar.gz ngircd-025342fe46ae504a08be8c642901ec7eb7c4fccb.zip | |
Fix gcc warning "ignoring return value of ..."
This patch fixes two warnings of gcc 4.4.3 when used with eglibc 2.11.1: ngircd.c: In function ‘NGIRCd_Init’: ngircd.c:801: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result conn.c: In function ‘Simple_Message’: conn.c:2041: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result The first by checking the return code and an appropriate error message, the second by "better" ignoring it (which is correct there!) ...
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions