summaryrefslogtreecommitdiffstats
path: root/src/core/dbus-path.c
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2022-08-09 14:35:15 +0200
committerDavid Tardon <dtardon@redhat.com>2022-09-13 08:13:27 +0200
commit995340074e554b4bf4a0fdb0cb7436692c5a4ffd (patch)
treeca3ee001db3e608ee80478f42fea9c3b409f1b7b /src/core/dbus-path.c
parentMerge pull request #23087 from yuwata/udev-watch (diff)
downloadsystemd-995340074e554b4bf4a0fdb0cb7436692c5a4ffd.tar.xz
systemd-995340074e554b4bf4a0fdb0cb7436692c5a4ffd.zip
tree-wide: use ASSERT_PTR more
Diffstat (limited to 'src/core/dbus-path.c')
-rw-r--r--src/core/dbus-path.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/dbus-path.c b/src/core/dbus-path.c
index 09b353ba3f..65fb7d7eb7 100644
--- a/src/core/dbus-path.c
+++ b/src/core/dbus-path.c
@@ -21,12 +21,11 @@ static int property_get_paths(
void *userdata,
sd_bus_error *error) {
- Path *p = userdata;
+ Path *p = ASSERT_PTR(userdata);
int r;
assert(bus);
assert(reply);
- assert(p);
r = sd_bus_message_open_container(reply, 'a', "(ss)");
if (r < 0)