mirror of
https://github.com/systemd/systemd.git
synced 2025-01-24 06:04:05 +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)
|
if (!f)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
__fsetlocking(f, FSETLOCKING_BYCALLER);
|
(void) __fsetlocking(f, FSETLOCKING_BYCALLER);
|
||||||
|
|
||||||
for (i = 0; i < n_components; i++) {
|
for (i = 0; i < n_components; i++) {
|
||||||
char buf[32];
|
char buf[32];
|
||||||
|
@ -804,7 +804,7 @@ int dnssec_verify_rrset(
|
|||||||
f = open_memstream(&sig_data, &sig_size);
|
f = open_memstream(&sig_data, &sig_size);
|
||||||
if (!f)
|
if (!f)
|
||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
__fsetlocking(f, FSETLOCKING_BYCALLER);
|
(void) __fsetlocking(f, FSETLOCKING_BYCALLER);
|
||||||
|
|
||||||
fwrite_uint16(f, rrsig->rrsig.type_covered);
|
fwrite_uint16(f, rrsig->rrsig.type_covered);
|
||||||
fwrite_uint8(f, rrsig->rrsig.algorithm);
|
fwrite_uint8(f, rrsig->rrsig.algorithm);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user