Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Commit

Permalink
[x86/Linux] Fix error variable 'td' is uninitialized (#8299)
Browse files Browse the repository at this point in the history
Fix compile error for x86/Linux
- make compiler happy with initialize variable 'td' with 0.0
  • Loading branch information
seanshpark authored and jkotas committed Nov 28, 2016
1 parent ff98f85 commit e5d9c9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/debug/di/rsthread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit e5d9c9f

Please sign in to comment.