aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/beam_load.c
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2017-10-18 16:01:03 +0200
committerLukas Larsson <[email protected]>2017-10-30 19:40:34 +0100
commit1b00539d6db8e349c6782bcd38ab006420734106 (patch)
tree847bc2b962ad07f7ebcc8fac6d9d062fa5b7c1db /erts/emulator/beam/beam_load.c
parent56587b4c81c337d198a414334c3f6429f12cbf64 (diff)
downloadotp-1b00539d6db8e349c6782bcd38ab006420734106.tar.gz
otp-1b00539d6db8e349c6782bcd38ab006420734106.tar.bz2
otp-1b00539d6db8e349c6782bcd38ab006420734106.zip
erts: Fix a bunch of compiler warnings
Diffstat (limited to 'erts/emulator/beam/beam_load.c')
-rw-r--r--erts/emulator/beam/beam_load.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/beam_load.c b/erts/emulator/beam/beam_load.c
index 00dd28b26c..1468540cc6 100644
--- a/erts/emulator/beam/beam_load.c
+++ b/erts/emulator/beam/beam_load.c
@@ -5027,7 +5027,7 @@ freeze_code(LoaderState* stp)
*/
codev[pos] = (BeamInstr) (codev + value);
} else {
-#ifdef DEBUG
+#if defined(DEBUG) && defined(BEAM_WIDE_MASK)
Uint w;
#endif
Sint32 rel = lp->offset + value;