From: Zbigniew Jędrzejewski-Szmek Date: Thu, 11 Feb 2021 08:23:22 +0000 (+0100) Subject: shared/generator: add missing initializer X-Git-Tag: v248-rc1~154^2~5 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=47237e0ed47e018ce5c32bab618a5dfa5d1aa2e5;p=thirdparty%2Fsystemd.git shared/generator: add missing initializer Coverity CID#1444710. --- diff --git a/src/shared/generator.c b/src/shared/generator.c index b8616cf1f2b..8b95c772db1 100644 --- a/src/shared/generator.c +++ b/src/shared/generator.c @@ -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);