diff options
author | David Tardon <dtardon@redhat.com> | 2022-08-09 14:35:15 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2022-09-13 08:13:27 +0200 |
commit | 995340074e554b4bf4a0fdb0cb7436692c5a4ffd (patch) | |
tree | ca3ee001db3e608ee80478f42fea9c3b409f1b7b /src/home/homed-conf.c | |
parent | 6d64cb0625691e2b9eda8babe07ac8281f9467ee (diff) | |
download | systemd-995340074e554b4bf4a0fdb0cb7436692c5a4ffd.tar.gz |
tree-wide: use ASSERT_PTR more
Diffstat (limited to 'src/home/homed-conf.c')
-rw-r--r-- | src/home/homed-conf.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/home/homed-conf.c b/src/home/homed-conf.c index 4f46b0c886..296e01449d 100644 --- a/src/home/homed-conf.c +++ b/src/home/homed-conf.c @@ -39,10 +39,9 @@ int config_parse_default_file_system_type( void *data, void *userdata) { - char **s = data; + char **s = ASSERT_PTR(data); assert(rvalue); - assert(s); if (!isempty(rvalue) && !supported_fstype(rvalue)) { log_syntax(unit, LOG_WARNING, filename, line, 0, "Unsupported file system, ignoring: %s", rvalue); |