projects
/
platform
/
upstream
/
coreclr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ae6134
)
Clarify code with unobvious precedence (#1624)
author
Dmitry-Me
<Dmitry-Me@users.noreply.github.com>
Fri, 14 Oct 2016 14:02:00 +0000
(17:02 +0300)
committer
Jan Kotas
<jkotas@microsoft.com>
Fri, 14 Oct 2016 14:02:00 +0000
(07:02 -0700)
src/debug/di/rsthread.cpp
patch
|
blob
|
history
diff --git
a/src/debug/di/rsthread.cpp
b/src/debug/di/rsthread.cpp
index
ae9b43c
..
c2a8d1b
100644
(file)
--- 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;