diff options
author | David Tardon <dtardon@redhat.com> | 2022-08-09 14:35:15 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2022-09-13 08:13:27 +0200 |
commit | 995340074e554b4bf4a0fdb0cb7436692c5a4ffd (patch) | |
tree | ca3ee001db3e608ee80478f42fea9c3b409f1b7b /src/run | |
parent | 6d64cb0625691e2b9eda8babe07ac8281f9467ee (diff) | |
download | systemd-995340074e554b4bf4a0fdb0cb7436692c5a4ffd.tar.gz |
tree-wide: use ASSERT_PTR more
Diffstat (limited to 'src/run')
-rw-r--r-- | src/run/run.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/run/run.c b/src/run/run.c index 32c001fabc..e2915fe4de 100644 --- a/src/run/run.c +++ b/src/run/run.c @@ -1077,10 +1077,9 @@ static int run_context_update(RunContext *c, const char *path) { } static int on_properties_changed(sd_bus_message *m, void *userdata, sd_bus_error *error) { - RunContext *c = userdata; + RunContext *c = ASSERT_PTR(userdata); assert(m); - assert(c); return run_context_update(c, sd_bus_message_get_path(m)); } |