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:
cec26a6
)
Fix build break in nativeformatreader.h
author
Jan Kotas
<jkotas@microsoft.com>
Thu, 24 Mar 2016 04:30:37 +0000
(21:30 -0700)
committer
Jan Kotas
<jkotas@microsoft.com>
Thu, 24 Mar 2016 04:30:37 +0000
(21:30 -0700)
[tfs-changeset:
1589424
]
src/vm/nativeformatreader.h
patch
|
blob
|
history
diff --git
a/src/vm/nativeformatreader.h
b/src/vm/nativeformatreader.h
index 0139ea7d4fd9f5289fd626fc56d0c0394eeb256a..cfebb498ca4c0f43b1dc1bc31026b5e0d3eef1b6 100644
(file)
--- a/
src/vm/nativeformatreader.h
+++ b/
src/vm/nativeformatreader.h
@@
-181,6
+181,10
@@
namespace NativeFormat
return offset;
}
+#ifdef _MSC_VER
+#pragma warning(push)
+#pragma warning(disable : 4702) // Disable unreachable code warning
+#endif
uint SkipInteger(uint offset)
{
EnsureOffsetInRange(offset, 0);
@@
-216,6
+220,9
@@
namespace NativeFormat
return offset;
}
}
+#ifdef _MSC_VER
+#pragma warning(pop)
+#endif
};
class NativeParser