summaryrefslogtreecommitdiffstats
path: root/src/tmpfiles/tmpfiles.c
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/tmpfiles.c
parenttmpfiles: optionally, decode string to write to files with base64 (diff)
downloadsystemd-3a632fc1ebef819046d06206265aa5086d301fd4.tar.xz
systemd-3a632fc1ebef819046d06206265aa5086d301fd4.zip
tmpfiles: minor shortening of code
Diffstat (limited to 'src/tmpfiles/tmpfiles.c')
-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;