Skip to content

Commit d9040e9

Browse files
authored
Merge pull request #456 from bettio/remove-leftover-unused
Remove leftover UNUSED(...)
2 parents 96c95fb + 68f0e25 commit d9040e9

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

src/libAtomVM/opcodesswitch.h

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3580,7 +3580,6 @@ static bool maybe_call_native(Context *ctx, AtomString module_name, AtomString f
35803580
DECODE_DEST_REGISTER(dreg, dreg_type, code, i, next_off);
35813581

35823582
#ifdef IMPL_CODE_LOADER
3583-
UNUSED(src_off);
35843583
TRACE("bs_append/6\n");
35853584
#endif
35863585

@@ -3892,7 +3891,6 @@ static bool maybe_call_native(Context *ctx, AtomString module_name, AtomString f
38923891
DECODE_COMPACT_TERM(live, code, i, next_off);
38933892

38943893
#ifdef IMPL_CODE_LOADER
3895-
UNUSED(src_off);
38963894
TRACE("bs_get_tail/3\n");
38973895
#endif
38983896

@@ -4266,7 +4264,6 @@ static bool maybe_call_native(Context *ctx, AtomString module_name, AtomString f
42664264
DECODE_DEST_REGISTER(dreg, dreg_type, code, i, next_off);
42674265

42684266
#ifdef IMPL_CODE_LOADER
4269-
UNUSED(src_offset);
42704267
TRACE("bs_get_binary2/7\n");
42714268
#endif
42724269

@@ -4830,12 +4827,6 @@ static bool maybe_call_native(Context *ctx, AtomString module_name, AtomString f
48304827
#endif
48314828
}
48324829

4833-
#ifdef IMPL_CODE_LOADER
4834-
UNUSED(list_off);
4835-
UNUSED(new_entries);
4836-
UNUSED(src_offset);
4837-
#endif
4838-
48394830
#ifdef IMPL_EXECUTE_LOOP
48404831
//
48414832
// Maybe GC, and reset the src term in case it changed
@@ -4949,11 +4940,6 @@ static bool maybe_call_native(Context *ctx, AtomString module_name, AtomString f
49494940
#endif
49504941
}
49514942

4952-
#ifdef IMPL_CODE_LOADER
4953-
UNUSED(list_off);
4954-
UNUSED(src_offset);
4955-
#endif
4956-
49574943
#ifdef IMPL_EXECUTE_LOOP
49584944
//
49594945
// Maybe GC, and reset the src term in case it changed

0 commit comments

Comments
 (0)