From 3a632fc1ebef819046d06206265aa5086d301fd4 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 12 Jul 2022 23:53:11 +0200 Subject: [PATCH] tmpfiles: minor shortening of code --- src/tmpfiles/tmpfiles.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/tmpfiles/tmpfiles.c b/src/tmpfiles/tmpfiles.c index 06d11f34b9b..0c50c8e1ee3 100644 --- a/src/tmpfiles/tmpfiles.c +++ b/src/tmpfiles/tmpfiles.c @@ -999,10 +999,8 @@ static int parse_xattrs_from_arg(Item *i) { int r; assert(i); - assert(i->argument); - - p = i->argument; + assert_se(p = i->argument); for (;;) { _cleanup_free_ char *name = NULL, *value = NULL, *xattr = NULL; -- 2.47.3