[Openal-devel] openal-soft: [PATCH] killed GCC 4.3 result unused warning

Alam Arias alam.gbc at gmail.com
Mon Jan 26 01:26:00 PST 2009


while compiling openal-soft GIT with GCC 4.3 with WERROR on on commit 1f4c , a warning/error come up

Alc/wavec.c: In function ‘WaveProc’:
Alc/wave.c:92: error: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result

the attached patch should fix this unused result warning
---
 Alc/wave.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 3897258a0b0eb0b33cdf5e2e82402ba3c8185942.diff
Type: text/x-patch
Size: 670 bytes
Desc: not available
Url : http://opensource.creative.com/pipermail/openal-devel/attachments/20090126/f96a8adb/3897258a0b0eb0b33cdf5e2e82402ba3c8185942.bin


More information about the Openal-devel mailing list