Skip to content

Commit

Permalink
Fix unused param warning when GC is enabled (bytecodealliance#3814)
Browse files Browse the repository at this point in the history
  • Loading branch information
palchikov authored Sep 25, 2024
1 parent e87f7a9 commit 86926aa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/iwasm/interpreter/wasm.h
Original file line number Diff line number Diff line change
Expand Up @@ -1238,6 +1238,9 @@ wasm_value_type_size_internal(uint8 value_type, uint8 pointer_size)
else {
bh_assert(0);
}
#if WASM_ENABLE_GC == 0
(void)pointer_size;
#endif
return 0;
}

Expand Down

0 comments on commit 86926aa

Please sign in to comment.