aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2016-05-12 19:20:41 +0200
committerSverker Eriksson <[email protected]>2016-05-12 19:20:41 +0200
commitcbee76c388d08100856a92f14850bb3302a51207 (patch)
tree49711b1f43f354badd071216e59ff3f7275db149 /erts/emulator/beam
parent3d85de7d6bd60e6b409be6910b35d973206ef388 (diff)
downloadotp-cbee76c388d08100856a92f14850bb3302a51207.tar.gz
otp-cbee76c388d08100856a92f14850bb3302a51207.tar.bz2
otp-cbee76c388d08100856a92f14850bb3302a51207.zip
erts: Remove compiler warning
'hx' may be used uninitialized
Diffstat (limited to 'erts/emulator/beam')
-rw-r--r--erts/emulator/beam/beam_load.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/erts/emulator/beam/beam_load.c b/erts/emulator/beam/beam_load.c
index 2e21a553ed..e6b50fbd32 100644
--- a/erts/emulator/beam/beam_load.c
+++ b/erts/emulator/beam/beam_load.c
@@ -4368,6 +4368,7 @@ gen_get_map_elements(LoaderState* stp, GenOpArg Fail, GenOpArg Src,
int good_hash;
#endif
+ ERTS_UNDEF(hx, 0);
ASSERT(Size.type == TAG_u);
NEW_GENOP(stp, op);