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:
Martin Jäger 2026-04-06 22:35:13 +02:00
parent dd0fee27a5
commit 02ad2e74e9

View File

@ -12178,7 +12178,9 @@ re_scan:
}
#endif
#if WASM_ENABLE_FAST_INTERP != 0
uint8 *frame_ref_before_pop = loader_ctx->frame_ref;
#endif
POP_TYPE(
wasm_type->types[wasm_type->param_count - i - 1]);
#if WASM_ENABLE_FAST_INTERP != 0