Fix static analysis issue 60/263860/1
authorJunghyun Yeon <jungh.yeon@samsung.com>
Mon, 13 Sep 2021 01:27:51 +0000 (10:27 +0900)
committerJunghyun Yeon <jungh.yeon@samsung.com>
Mon, 13 Sep 2021 01:27:51 +0000 (10:27 +0900)
Change-Id: I62449d9b4df01b5ce14fdf24373a2989c5648819
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
src/common/step/backup/step_backup_icons.cc
src/common/step/backup/step_backup_icons.h

index 5900669e79b90cd0fea95495442d9ac7858d0087..b8171fb044b62935c23fc5f8780be446d580ae70 100644 (file)
@@ -21,6 +21,9 @@ namespace bs = boost::system;
 namespace common_installer {
 namespace backup {
 
+StepBackupIcons::StepBackupIcons(InstallerContext* context) : Step(context),
+    extra_icon_path_(nullptr) {}
+
 Step::Status StepBackupIcons::process() {
   extra_icon_path_ = getIconPath(context_->uid.get(),
       context_->is_readonly_package.get());
index 0e5f0c4fd7024a55a7110cbc063209e9541d7f01..4c3a5f4d8b93b61f4b629d5de4b2007962fe125f 100644 (file)
@@ -24,6 +24,7 @@ class StepBackupIcons : public Step {
  public:
   using Step::Step;
 
+  explicit StepBackupIcons(InstallerContext* context);
   /**
    * \brief main logic of backuping icons
    *