Skip to content

Commit 86926aa

Browse files
authored
Fix unused param warning when GC is enabled (#3814)
1 parent e87f7a9 commit 86926aa

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

core/iwasm/interpreter/wasm.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1238,6 +1238,9 @@ wasm_value_type_size_internal(uint8 value_type, uint8 pointer_size)
12381238
else {
12391239
bh_assert(0);
12401240
}
1241+
#if WASM_ENABLE_GC == 0
1242+
(void)pointer_size;
1243+
#endif
12411244
return 0;
12421245
}
12431246

0 commit comments

Comments
 (0)