From 3613fc6106f74247d777da4e45b9b0fa344ec6e0 Mon Sep 17 00:00:00 2001 From: DeaDDooMER Date: Wed, 1 Apr 2020 18:39:29 +0300 Subject: [PATCH] sdlmixer: fix warnings --- src/sdlmixer/sound.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sdlmixer/sound.c b/src/sdlmixer/sound.c index 8867e57..92334c7 100644 --- a/src/sdlmixer/sound.c +++ b/src/sdlmixer/sound.c @@ -141,7 +141,7 @@ static sdlmixer_snd *new_sdlmixer_snd (const void *data, dword len, dword rate, snd_t *S_get (int id) { void *handle; sdlmixer_snd *snd = NULL; - if (devinit != NULL) { + if (devinit) { handle = M_lock(id); if (handle != NULL) { void *data = handle; -- 2.29.2