Also remove {} from a for in d5p1.

This commit is contained in:
Alexander Andreev 2023-12-06 05:27:21 +04:00
parent c1f11c1ebc
commit 69b8c48ef3
Signed by: Arav
GPG Key ID: D22A817D95815393

View File

@ -51,12 +51,11 @@ int main(int argc, char **argv) {
uint64_t dst = 0, src = 0, rng = 0;
sscanf(line, "%lu %lu %lu\n", &dst, &src, &rng);
for (size_t i = 0; i < data_len; ++i) {
for (size_t i = 0; i < data_len; ++i)
if (!data_v[i] && data[i] >= src && data[i] < src+rng) {
data[i] = dst + (data[i] - src);
data_v[i] = true;
}
}
memset(line, 0, line_buf_length);
}