Silence some GCC warnings
This commit is contained in:
parent
785f52aa29
commit
ac84d95c6e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user