Quiet warning C2220
authorJoseph Tremoulet <jotrem@microsoft.com>
Mon, 22 May 2017 21:27:30 +0000 (17:27 -0400)
committerJoseph Tremoulet <JCTremoulet@gmail.com>
Mon, 22 May 2017 23:49:24 +0000 (19:49 -0400)
commitacfbd811e8a107f15085b32a9d30f3148d044e00
tree53000be19215906d309650d778b9d97d1576cb5c
parenta16a8a852077b0c471cf12ef75dc5e8a41333533
Quiet warning C2220

This warning reports "potentially uninitialized local variable
`fieldOffset` used".  The use is guarded by a check on `fieldHnd` being
non-null, and `fieldOffset` gets initialized properly on all paths that
set `fieldHnd` to something other than null, so the fix is simply to
initialize `fieldOffset` to 0 at its declaration so the compiler won't
complain.

Resolves #11800.
src/jit/morph.cpp