diff options
author | Chris Robinson <[email protected]> | 2013-06-05 01:52:49 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2013-06-05 01:52:49 -0700 |
commit | a371de080b01d9ea9dc38dd386b5903f7e4d8282 (patch) | |
tree | 2d6ad48f76bf1580430d0d6aa3dbd2bf7ab2d047 /Alc/backends/wave.c | |
parent | 0e0f70b2888c23debeefd80603f8c6f0c1ad4880 (diff) |
Silence some clang warnings
Diffstat (limited to 'Alc/backends/wave.c')
-rw-r--r-- | Alc/backends/wave.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/backends/wave.c b/Alc/backends/wave.c index be528c9a..416876be 100644 --- a/Alc/backends/wave.c +++ b/Alc/backends/wave.c @@ -146,7 +146,7 @@ static ALuint WaveProc(ALvoid *ptr) { fs = fwrite(data->buffer, frameSize, Device->UpdateSize, data->f); - fs = fs; + (void)fs; } if(ferror(data->f)) { @@ -257,7 +257,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; + (void)val; fprintf(data->f, "data"); fwrite32le(0xFFFFFFFF, data->f); // 'data' header len; filled in at close |