From c011f37432a544ed430766028c8a4301e96af285 Mon Sep 17 00:00:00 2001 From: SaeHie Park Date: Thu, 24 Nov 2016 14:18:37 +0900 Subject: [PATCH] [x86/Linux] Fix error variable 'td' is uninitialized Fix compile error for x86/Linux - make compiler happy with initialize variable 'td' with 0.0 --- src/debug/di/rsthread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/debug/di/rsthread.cpp b/src/debug/di/rsthread.cpp index e4e2066fc9fd..a4660be570b6 100644 --- a/src/debug/di/rsthread.cpp +++ b/src/debug/di/rsthread.cpp @@ -1493,7 +1493,7 @@ void CordbThread::Get32bitFPRegisters(CONTEXT * pContext) for (i = 0; i <= floatStackTop; i++) { - long double td; + double td = 0.0; __asm fstp td // copy out the double m_floatValues[i] = td; }