diff options
author | Sverker Eriksson <[email protected]> | 2018-10-11 16:36:09 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2018-10-19 19:44:50 +0200 |
commit | 0d29c75482a2cd24501419d1eb702ee982c4d669 (patch) | |
tree | fea3b4f59d62033b690ee00fd02977caab8d5190 /erts/emulator | |
parent | a64977f98e71aaf046dc81719459a8f9b03da90d (diff) | |
download | otp-0d29c75482a2cd24501419d1eb702ee982c4d669.tar.gz otp-0d29c75482a2cd24501419d1eb702ee982c4d669.tar.bz2 otp-0d29c75482a2cd24501419d1eb702ee982c4d669.zip |
erts: Fix compiler warning in erl_bif_binary.c
Diffstat (limited to 'erts/emulator')
-rw-r--r-- | erts/emulator/beam/erl_bif_binary.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/erts/emulator/beam/erl_bif_binary.c b/erts/emulator/beam/erl_bif_binary.c index 5b3f091ccc..d465f6c6b9 100644 --- a/erts/emulator/beam/erl_bif_binary.c +++ b/erts/emulator/beam/erl_bif_binary.c @@ -1051,14 +1051,13 @@ static int do_binary_match_compile(Eterm argument, Eterm *tag, Binary **binp) Uint bitoffs, bitsize; byte *temp_alloc = NULL; MyAllocator my; - BMData *bmd; Binary *bin; ERTS_GET_BINARY_BYTES(comp_term, bytes, bitoffs, bitsize); if (bitoffs != 0) { bytes = erts_get_aligned_binary_bytes(comp_term, &temp_alloc); } - bmd = create_bmdata(&my, bytes, characters, &bin); + create_bmdata(&my, bytes, characters, &bin); erts_free_aligned_binary_bytes(temp_alloc); CHECK_ALLOCATOR(my); *tag = am_bm; |