diff options
author | Chris Robinson <[email protected]> | 2012-06-17 22:17:03 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2012-06-17 22:17:03 -0700 |
commit | ac84d95c6eeb5a4956873e9dcddfcb23170df0a1 (patch) | |
tree | a8e3ea85c39dcabab67974ae6f0df62decd63f04 /Alc/backends | |
parent | 785f52aa29d49026f2669de4eed3c7041b9e876f (diff) |
Silence some GCC warnings
Diffstat (limited to 'Alc/backends')
-rw-r--r-- | Alc/backends/wave.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Alc/backends/wave.c b/Alc/backends/wave.c index 156bfd2d..47db5460 100644 --- a/Alc/backends/wave.c +++ b/Alc/backends/wave.c @@ -140,8 +140,11 @@ static ALuint WaveProc(ALvoid *ptr) } } else + { fs = fwrite(data->buffer, frameSize, Device->UpdateSize, data->f); + fs = fs; + } if(ferror(data->f)) { ERR("Error writing to file\n"); @@ -249,6 +252,7 @@ static ALCboolean wave_reset_playback(ALCdevice *device) fwrite32le(channel_masks[channels], data->f); // 16 byte GUID, sub-type format val = fwrite(((bits==32) ? SUBTYPE_FLOAT : SUBTYPE_PCM), 1, 16, data->f); + val = val; fprintf(data->f, "data"); fwrite32le(0xFFFFFFFF, data->f); // 'data' header len; filled in at close |