From 47237e0ed47e018ce5c32bab618a5dfa5d1aa2e5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Thu, 11 Feb 2021 09:23:22 +0100 Subject: [PATCH] shared/generator: add missing initializer Coverity CID#1444710. --- src/shared/generator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.47.3