[th/gcc-14-fixes-2] avoid compiler warnings with GCC 14 (systemd)
follow up to !1840 (merged).
this is also supposed to fix the build failures on Fedora rawhide in our copr. A test build is here.
Edited by Thomas Haller
follow up to !1840 (merged).
this is also supposed to fix the build failures on Fedora rawhide in our copr. A test build is here.