mirror of
https://github.com/systemd/systemd.git
synced 2025-01-09 01:18:19 +03:00
Always explicitly discard popped stream type from __fsetlocking
No biggie, but I noticed this while looking into bus_match_to_string.
This commit is contained in:
parent
b2c9e8e187
commit
912b4547b5
@ -864,7 +864,7 @@ char *bus_match_to_string(struct bus_match_component *components, unsigned n_com
|
||||
if (!f)
|
||||
return NULL;
|
||||
|
||||
__fsetlocking(f, FSETLOCKING_BYCALLER);
|
||||
(void) __fsetlocking(f, FSETLOCKING_BYCALLER);
|
||||
|
||||
for (i = 0; i < n_components; i++) {
|
||||
char buf[32];
|
||||
|
@ -804,7 +804,7 @@ int dnssec_verify_rrset(
|
||||
f = open_memstream(&sig_data, &sig_size);
|
||||
if (!f)
|
||||
return -ENOMEM;
|
||||
__fsetlocking(f, FSETLOCKING_BYCALLER);
|
||||
(void) __fsetlocking(f, FSETLOCKING_BYCALLER);
|
||||
|
||||
fwrite_uint16(f, rrsig->rrsig.type_covered);
|
||||
fwrite_uint8(f, rrsig->rrsig.algorithm);
|
||||
|
Loading…
Reference in New Issue
Block a user