Shut up another warning

This commit is contained in:
Clownacy 2019-10-29 12:25:03 +00:00
parent 394d5658a4
commit 01c5fb3a37

View file

@ -260,6 +260,9 @@ unsigned char* AudioBackend_LockSound(AudioBackend_Sound *sound, size_t *size)
void AudioBackend_UnlockSound(AudioBackend_Sound *sound)
{
if (sound == NULL)
return;
SDL_UnlockAudioDevice(device_id);
}