]> git.ipfire.org Git - thirdparty/systemd.git/commit
shared/install: rework an assert to appease gcc-13 26147/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 22 Jan 2023 17:21:13 +0000 (18:21 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 22 Jan 2023 17:25:56 +0000 (18:25 +0100)
commit8f5d716a71f1dfe50a2902a3ee3334b83c76d805
tree3a9db82534961de9a7641fce814a255ce91d2a6a
parent4a4af850b3551aff9bc39e5af5ccf3b876fc50ed
shared/install: rework an assert to appease gcc-13

With the previous form, gcc is confused and thinks that .type might be unset.

Fixes #26118.
src/shared/install.c