summaryrefslogtreecommitdiff
path: root/src/portable/portabled-operation.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/portable/portabled-operation.c')
-rw-r--r--src/portable/portabled-operation.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/portable/portabled-operation.c b/src/portable/portabled-operation.c
index e4b737ae8c..26adb9091a 100644
--- a/src/portable/portabled-operation.c
+++ b/src/portable/portabled-operation.c
@@ -9,10 +9,9 @@
static int operation_done(sd_event_source *s, const siginfo_t *si, void *userdata) {
_cleanup_(sd_bus_error_free) sd_bus_error error = SD_BUS_ERROR_NULL;
- Operation *o = userdata;
+ Operation *o = ASSERT_PTR(userdata);
int r;
- assert(o);
assert(si);
log_debug("Operating " PID_FMT " is now complete with code=%s status=%i",