summaryrefslogtreecommitdiff
path: root/src/tmpfiles
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2022-07-12 23:53:11 +0200
committerLennart Poettering <lennart@poettering.net>2022-07-15 11:55:45 +0200
commit3a632fc1ebef819046d06206265aa5086d301fd4 (patch)
tree3dce2fd1a39ba341ece62f89a25ebadc10429e15 /src/tmpfiles
parent708daf42d8f8b930a468f3e384fe814af65c4e93 (diff)
downloadsystemd-3a632fc1ebef819046d06206265aa5086d301fd4.tar.gz
tmpfiles: minor shortening of code
Diffstat (limited to 'src/tmpfiles')
-rw-r--r--src/tmpfiles/tmpfiles.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/tmpfiles/tmpfiles.c b/src/tmpfiles/tmpfiles.c
index 06d11f34b9..0c50c8e1ee 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;