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:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user