From 0aa62890bbf9bc9e815ad42a6b4074a358348210 Mon Sep 17 00:00:00 2001 From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com> Date: Sun, 2 Apr 2023 10:50:59 +0200 Subject: [PATCH] /W4: Remove unreferenced local variables Removed additional dead code. --- r5dev/windows/console.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/r5dev/windows/console.cpp b/r5dev/windows/console.cpp index 52deb520..cd245c65 100644 --- a/r5dev/windows/console.cpp +++ b/r5dev/windows/console.cpp @@ -31,8 +31,6 @@ void SetConsoleBackgroundColor(COLORREF color) HANDLE consoleOut = GetStdHandle(STD_OUTPUT_HANDLE); GetConsoleScreenBufferInfoEx(consoleOut, &sbInfoEx); - COLORREF storedBG = sbInfoEx.ColorTable[0]; - sbInfoEx.ColorTable[0] = color; SetConsoleScreenBufferInfoEx(consoleOut, &sbInfoEx); } @@ -101,7 +99,6 @@ void Console_Init() } #endif // !NETCONSOLE - HANDLE hInput = GetStdHandle(STD_INPUT_HANDLE); HANDLE hOutput = GetStdHandle(STD_OUTPUT_HANDLE); DWORD dwMode = NULL;