From c6139b5667bd46fe716ca42d7bd0c0bd982f2fdf Mon Sep 17 00:00:00 2001 From: Tropical <42101043+tropicaaal@users.noreply.github.com> Date: Mon, 30 Mar 2026 21:37:35 -0500 Subject: [PATCH] remove unused Console_Utils.cpp --- .../Common/Source Files/Console_Utils.cpp | 35 ------------------- 1 file changed, 35 deletions(-) delete mode 100644 minecraft/Minecraft.Client/Common/Source Files/Console_Utils.cpp diff --git a/minecraft/Minecraft.Client/Common/Source Files/Console_Utils.cpp b/minecraft/Minecraft.Client/Common/Source Files/Console_Utils.cpp deleted file mode 100644 index 7a90e3097..000000000 --- a/minecraft/Minecraft.Client/Common/Source Files/Console_Utils.cpp +++ /dev/null @@ -1,35 +0,0 @@ -#include "Minecraft.World/Header Files/stdafx.h" - -#define CDECL - -//-------------------------------------------------------------------------------------- -// Name: DebugSpewV() -// Desc: Internal helper function -//-------------------------------------------------------------------------------------- -#if !defined(_CONTENT_PACKAGE) -static void DebugSpewV(const char* strFormat, va_list pArgList) { -#if defined(__linux__) - assert(0); -#else - char str[2048]; - // Use the secure CRT to avoid buffer overruns. Specify a count of - // _TRUNCATE so that too long strings will be silently truncated - // rather than triggering an error. - _vsnprintf_s(str, _TRUNCATE, strFormat, pArgList); - OutputDebugStringA(str); -#endif -} -#endif - -//-------------------------------------------------------------------------------------- -// Name: DebugPrintf() -// Desc: Prints formatted debug spew -//-------------------------------------------------------------------------------------- -void CDECL DebugPrintf(const char* strFormat, ...) { -#if !defined(_CONTENT_PACKAGE) - va_list pArgList; - va_start(pArgList, strFormat); - DebugSpewV(strFormat, pArgList); - va_end(pArgList); -#endif -}