cleanup: address review feedback from claude

Trivial ordering/modernizing change that got highlighted by
claude and refined by keszybz to move to the modern systemd
style.

Thanks to keszybz for suggesting this.
This commit is contained in:
Michael Vogt
2026-03-30 13:34:58 +02:00
parent ad7813844a
commit 69d54d5213
2 changed files with 2 additions and 6 deletions
+1 -3
View File
@@ -154,9 +154,7 @@ static int normalize_offset(
POINTER_MAY_BE_NULL(compressed);
POINTER_MAY_BE_NULL(compressed_size);
uint64_t q;
q = be64toh(p);
uint64_t q = be64toh(p);
if (q & QCOW2_COMPRESSED) {
uint64_t sz, csize_shift, csize_mask;
+1 -3
View File
@@ -83,9 +83,7 @@ int dns_stub_listener_extra_new(
assert(ret);
DnsStubListenerExtra *l;
l = new(DnsStubListenerExtra, 1);
DnsStubListenerExtra *l = new(DnsStubListenerExtra, 1);
if (!l)
return -ENOMEM;