From 57ad97d212dec699c5e68c2f40b918eb16a61dfb Mon Sep 17 00:00:00 2001 From: Jonathan Li Date: Sun, 29 Nov 2015 10:56:42 +0000 Subject: [PATCH] x86emitter: Remove bool_to_char It was unused. --- common/src/x86emitter/cpudetect.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/common/src/x86emitter/cpudetect.cpp b/common/src/x86emitter/cpudetect.cpp index 2faebbc34d..717ca8972a 100644 --- a/common/src/x86emitter/cpudetect.cpp +++ b/common/src/x86emitter/cpudetect.cpp @@ -24,11 +24,6 @@ __aligned16 x86capabilities x86caps; // Recompiled code buffer for SSE and MXCSR feature testing. static __pagealigned u8 targetFXSAVE[512]; -static const char* bool_to_char( bool testcond ) -{ - return testcond ? "true" : "false"; -} - // Warning! We've had problems with the MXCSR detection code causing stack corruption in // MSVC PGO builds. The problem was fixed when I moved the MXCSR code to this function, and // moved the recSSE[] array to a global static (it was local to cpudetectInit). Commented