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 5900669..b8171fb 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 0e5f0c4..4c3a5f4 100644 (file)
@@ -24,6 +24,7 @@ class StepBackupIcons : public Step {
  public:
   using Step::Step;
 
+  explicit StepBackupIcons(InstallerContext* context);
   /**
    * \brief main logic of backuping icons
    *