1
0

template.c: move idx to the loop scope

This commit is contained in:
Intel A80486DX2-66 2024-04-10 23:32:58 +03:00
parent 759fa6df4a
commit 6cf64cc94a
Signed by: 80486DX2-66
GPG Key ID: 83631EF27054609B

View File

@ -239,8 +239,7 @@ main(void)
;
#if SEQUENTIAL_MODE
size_t idx = 0;
for (; idx < BLOCK_SIZE && time < PRODUCT; idx++,
for (size_t idx = 0; idx < BLOCK_SIZE && time < PRODUCT; idx++,
time++) {
#else
for (size_t time = 0; time < PRODUCT; time++) {