diff options
author | Lennart Poettering <lennart@poettering.net> | 2023-11-27 17:10:14 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2024-01-04 12:47:15 +0100 |
commit | faef9ba27f8fd15ae894a12c7bd05c87c47cc836 (patch) | |
tree | 8b5bd227b4aa47947398ee0d2a07947a7cd8249e /src | |
parent | logind: cast various calls that return errors we ignore to (void) (diff) | |
download | systemd-faef9ba27f8fd15ae894a12c7bd05c87c47cc836.tar.xz systemd-faef9ba27f8fd15ae894a12c7bd05c87c47cc836.zip |
homed: add some function parameter assert()s
Diffstat (limited to 'src')
-rw-r--r-- | src/home/homed-manager-bus.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/home/homed-manager-bus.c b/src/home/homed-manager-bus.c index b5dffb2c69..2c8113d9bd 100644 --- a/src/home/homed-manager-bus.c +++ b/src/home/homed-manager-bus.c @@ -274,6 +274,10 @@ static int generic_home_method( Home *h; int r; + assert(m); + assert(message); + assert(handler); + r = sd_bus_message_read(message, "s", &user_name); if (r < 0) return r; |