projects
/
platform
/
upstream
/
dotnet
/
runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c538f4
)
[x86/Linux] Fix error variable 'td' is uninitialized (dotnet/coreclr#8299)
author
SaeHie Park
<saehie.park@gmail.com>
Mon, 28 Nov 2016 22:36:39 +0000
(07:36 +0900)
committer
Jan Kotas
<jkotas@microsoft.com>
Mon, 28 Nov 2016 22:36:39 +0000
(14:36 -0800)
Fix compile error for x86/Linux
- make compiler happy with initialize variable 'td' with 0.0
Commit migrated from https://github.com/dotnet/coreclr/commit/
e5d9c9f4dea33b66339f748d837e99a3d645ff79
src/coreclr/src/debug/di/rsthread.cpp
patch
|
blob
|
history
diff --git
a/src/coreclr/src/debug/di/rsthread.cpp
b/src/coreclr/src/debug/di/rsthread.cpp
index
e4e2066
..
a4660be
100644
(file)
--- a/
src/coreclr/src/debug/di/rsthread.cpp
+++ b/
src/coreclr/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;
}