diff options
author | Sverker Eriksson <[email protected]> | 2018-09-07 19:35:15 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2018-09-07 19:35:15 +0200 |
commit | 50459bca9fd60733f9b354b2a2a4672fd8dc77e9 (patch) | |
tree | 7d1a6fe5c9d202245841d79f7afadf9dccbe5a62 /erts/emulator/beam/erl_bif_info.c | |
parent | 26e03d10c6c51868640869da8b091efdeab28bb0 (diff) | |
download | otp-50459bca9fd60733f9b354b2a2a4672fd8dc77e9.tar.gz otp-50459bca9fd60733f9b354b2a2a4672fd8dc77e9.tar.bz2 otp-50459bca9fd60733f9b354b2a2a4672fd8dc77e9.zip |
erts: Beautify away #ifdef DEBUG
"(void)result" will silence warning about unused variable
and compiler will optimize away such unused variables.
Diffstat (limited to 'erts/emulator/beam/erl_bif_info.c')
-rw-r--r-- | erts/emulator/beam/erl_bif_info.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/erts/emulator/beam/erl_bif_info.c b/erts/emulator/beam/erl_bif_info.c index 7fada0d548..2a8e7e8858 100644 --- a/erts/emulator/beam/erl_bif_info.c +++ b/erts/emulator/beam/erl_bif_info.c @@ -2705,9 +2705,7 @@ BIF_RETTYPE system_info_1(BIF_ALIST_1) goto bld_instruction_counts; } -#ifdef DEBUG ASSERT(endp == hp); -#endif BIF_RET(res); #endif /* #ifndef ERTS_OPCODE_COUNTER_SUPPORT */ |