diff options
author | Chris Robinson <[email protected]> | 2009-01-26 08:10:05 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2009-01-26 08:10:05 -0800 |
commit | 5a93b56673ed9831ade46900322ea4494325c504 (patch) | |
tree | 8ccbbb33ab819e9dfeb039b0f0283b63588f7f6a /Alc | |
parent | 1f4c69c17ab86d1904990b12100452692c5d28b2 (diff) |
Fix ignored return value warning
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/wave.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -50,6 +50,7 @@ static ALuint WaveProc(ALvoid *ptr) ALuint frameSize; ALuint now, last; size_t WriteCnt; + size_t fs; ALuint avail; union { short s; @@ -89,7 +90,7 @@ static ALuint WaveProc(ALvoid *ptr) fputc(bytes[i^1], data->f); } else - fwrite(data->buffer, frameSize, WriteCnt, data->f); + fs = fwrite(data->buffer, frameSize, WriteCnt, data->f); if(ferror(data->f)) { AL_PRINT("Error writing to file\n"); |