mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2026-04-18 18:18:44 +00:00
wasm_loader.c: Declare variable frame_ref_before_pop only if used
This avoids -Wunused-variable warning. Signed-off-by: Martin Jäger <martin@libre.solar>
This commit is contained in:
parent
dd0fee27a5
commit
02ad2e74e9
|
|
@ -12178,7 +12178,9 @@ re_scan:
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if WASM_ENABLE_FAST_INTERP != 0
|
||||||
uint8 *frame_ref_before_pop = loader_ctx->frame_ref;
|
uint8 *frame_ref_before_pop = loader_ctx->frame_ref;
|
||||||
|
#endif
|
||||||
POP_TYPE(
|
POP_TYPE(
|
||||||
wasm_type->types[wasm_type->param_count - i - 1]);
|
wasm_type->types[wasm_type->param_count - i - 1]);
|
||||||
#if WASM_ENABLE_FAST_INTERP != 0
|
#if WASM_ENABLE_FAST_INTERP != 0
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user