mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 20:28:56 +00:00
Fix the majority of the compiler warnings unearthed by the addition of
the new warning flags.
This commit is contained in:
parent
18e69acc15
commit
0ffdd2607f
11 changed files with 76 additions and 77 deletions
|
@ -316,7 +316,7 @@ void OpenALStream::SoundLoop()
|
|||
if (iBuffersFilled == numBuffers)
|
||||
{
|
||||
alSourcePlay(uiSource);
|
||||
ALenum err = alGetError();
|
||||
err = alGetError();
|
||||
if (err != 0)
|
||||
{
|
||||
ERROR_LOG(AUDIO, "Error occurred during playback: %08x", err);
|
||||
|
@ -328,7 +328,7 @@ void OpenALStream::SoundLoop()
|
|||
{
|
||||
// Buffer underrun occurred, resume playback
|
||||
alSourcePlay(uiSource);
|
||||
ALenum err = alGetError();
|
||||
err = alGetError();
|
||||
if (err != 0)
|
||||
{
|
||||
ERROR_LOG(AUDIO, "Error occurred resuming playback: %08x", err);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue