Skip to content

Commit 1cd5e92

Browse files
committed
fix: declare loop variable in for loop for clarity
1 parent 38e4171 commit 1cd5e92

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/iwasm/interpreter/wasm_loader.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7495,7 +7495,7 @@ wasm_loader_unload(WASMModule *module)
74957495
#endif
74967496
#endif
74977497
#if WASM_ENABLE_BRANCH_HINTS != 0
7498-
for (size_t i = 0; i < module->function_count; i++) {
7498+
for (i = 0; i < module->function_count; i++) {
74997499
// be carefull when adding more hints. This only works as long as
75007500
// the hint structs have been allocated all at once as an array.
75017501
// With only branch-hints at the moment, this is the case.

0 commit comments

Comments
 (0)