1
0
mirror of https://github.com/systemd/systemd.git synced 2025-02-09 13:57:42 +03:00

sd-journal: tighten variable scope

This commit is contained in:
Yu Watanabe 2023-04-26 20:40:08 +09:00
parent f81409f844
commit 265b1dc048

View File

@ -4168,7 +4168,7 @@ int journal_file_copy_entry(
_cleanup_free_ EntryItem *items_alloc = NULL;
EntryItem *items;
uint64_t q, n, m = 0, xor_hash = 0;
uint64_t n, m = 0, xor_hash = 0;
const sd_id128_t *boot_id;
dual_timestamp ts;
int r;
@ -4200,7 +4200,7 @@ int journal_file_copy_entry(
}
for (uint64_t i = 0; i < n; i++) {
uint64_t h;
uint64_t h, q;
void *data;
size_t l;
Object *u;