SDL_mixer: remove assignment of Mix_MasterVolume(-1) back to master_volume.

From ae312b33ad893f803e2a4b6ef6958f74b53f5c3b Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Tue, 17 May 2022 17:01:20 +0300
Subject: [PATCH] remove assignment of Mix_MasterVolume(-1) back to
 master_volume.

---
 src/mixer.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/mixer.c b/src/mixer.c
index 1ebf0cc1..5e5710de 100644
--- a/src/mixer.c
+++ b/src/mixer.c
@@ -278,7 +278,7 @@ static void SDLCALL
 mix_channels(void *udata, Uint8 *stream, int len)
 {
     Uint8 *mix_input;
-    int i, mixable, volume = master_volume = Mix_MasterVolume(-1);
+    int i, mixable, volume = Mix_MasterVolume(-1);
     Uint32 sdl_ticks;
 
     (void)udata;
@@ -1643,9 +1643,7 @@ void Mix_UnlockAudio(void)
 
 int Mix_MasterVolume(int volume)
 {
-    int prev_volume;
-
-    prev_volume = master_volume;
+    int prev_volume = master_volume;
     if (volume < 0) {
         return prev_volume;
     }