diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/debug/di/rsthread.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/debug/di/rsthread.cpp b/src/debug/di/rsthread.cpp index ae9b43cd01..c2a8d1bd06 100644 --- a/src/debug/di/rsthread.cpp +++ b/src/debug/di/rsthread.cpp @@ -8935,8 +8935,13 @@ HRESULT CordbJITILFrame::GetReturnValueForILOffsetImpl(ULONG32 ILoffset, ICorDeb bool found = false; ULONG32 currentOffset = m_nativeFrame->GetIPOffset(); for (ULONG32 i = 0; i < count; ++i) - if ((found = currentOffset == offsets[i])) + { + if (currentOffset == offsets[i]) + { + found = true; break; + } + } if (!found) return E_UNEXPECTED; |