From de2efb9b14a3bf92a29a0d7bd55d4111f1eb4901 Mon Sep 17 00:00:00 2001 From: Hwankyu Jhun Date: Thu, 17 Feb 2022 09:05:21 +0900 Subject: [PATCH] Fix static analysis issue - Initialize member variable Change-Id: I6c5743825481a0e0585bf5c580b6e526d4b1d914 Signed-off-by: Hwankyu Jhun --- parser/boot-sequencer/parser_plugin.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parser/boot-sequencer/parser_plugin.hh b/parser/boot-sequencer/parser_plugin.hh index df15223..e6cceef 100644 --- a/parser/boot-sequencer/parser_plugin.hh +++ b/parser/boot-sequencer/parser_plugin.hh @@ -53,7 +53,7 @@ class ParserPlugin { private: std::unique_ptr db_; - xmlDocPtr doc_; + xmlDocPtr doc_ = nullptr; std::unique_ptr args_; std::unique_ptr backup_args_; }; -- 2.7.4