summaryrefslogtreecommitdiffstats
path: root/src/journal/journald-server.c
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2024-05-16 08:59:50 +0200
committerDavid Tardon <dtardon@redhat.com>2024-05-16 10:10:19 +0200
commit2ef7cdc4255883d1c50860661248c9db69a86aa1 (patch)
tree66bac3c40554343874e492f2c7d62d919237b7b8 /src/journal/journald-server.c
parentMerge pull request #32784 from YHNdnzj/release-version (diff)
downloadsystemd-2ef7cdc4255883d1c50860661248c9db69a86aa1.tar.xz
systemd-2ef7cdc4255883d1c50860661248c9db69a86aa1.zip
journald-server: drop invalid assert()
config_parse_compress() is not used for parsing unit files, hence unit is always NULL. Fixes #32856 Follow-up-for: 6813be2eba24a2f864d5d47326437dbff38cd675
Diffstat (limited to 'src/journal/journald-server.c')
-rw-r--r--src/journal/journald-server.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/journal/journald-server.c b/src/journal/journald-server.c
index 1d03350d6a..950ec227f8 100644
--- a/src/journal/journald-server.c
+++ b/src/journal/journald-server.c
@@ -3012,7 +3012,6 @@ int config_parse_compress(
JournalCompressOptions* compress = ASSERT_PTR(data);
int r;
- assert(unit);
assert(filename);
assert(rvalue);