Fix unused param warning when GC is enabled (#3814)

This commit is contained in:
palchikov 2024-09-25 11:59:52 +03:00 committed by GitHub
parent e87f7a920d
commit 86926aa9d2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;
}