mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09:00
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: 6813be2eba
This commit is contained in:
@@ -3012,7 +3012,6 @@ int config_parse_compress(
|
||||
JournalCompressOptions* compress = ASSERT_PTR(data);
|
||||
int r;
|
||||
|
||||
assert(unit);
|
||||
assert(filename);
|
||||
assert(rvalue);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user