]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
shared/generator: add missing initializer
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 11 Feb 2021 08:23:22 +0000 (09:23 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 11 Feb 2021 08:23:22 +0000 (09:23 +0100)
Coverity CID#1444710.

src/shared/generator.c

index b8616cf1f2b2a563e2ba7d398b9eb0252413482b..8b95c772db184b75cac7df3ef74f9d603276eda9 100644 (file)
@@ -652,7 +652,7 @@ int generator_write_veritysetup_service_section(
                 const char *roothash,
                 const char *options) {
 
-        _cleanup_free_ char *name_escaped = NULL, *data_what_escaped = NULL, *hash_what_escaped,
+        _cleanup_free_ char *name_escaped = NULL, *data_what_escaped = NULL, *hash_what_escaped = NULL,
                             *roothash_escaped = NULL, *options_escaped = NULL;
 
         assert(f);