remove not-used attribute (name of icon, name of image) 09/59509/1
authorjongmyeongko <jongmyeong.ko@samsung.com>
Tue, 16 Feb 2016 07:02:47 +0000 (16:02 +0900)
committerjongmyeongko <jongmyeong.ko@samsung.com>
Tue, 16 Feb 2016 07:04:59 +0000 (16:04 +0900)
Requires:
https://review.tizen.org/gerrit/#/c/59508/

Change-Id: I37b6ae310a478d32df766c3abc150311033ca02f
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
src/common/step/step_parse_manifest.cc

index 3288141..7364039 100644 (file)
@@ -505,7 +505,6 @@ bool StepParseManifest::FillApplicationIconPaths(application_x* app,
     // This must be fixed in whole app-installer modules, including wgt.
     // Current implementation is just for compatibility.
     icon->text = strdup(text.c_str());
-    icon->name = strdup(application_icon.path().c_str());
     if (application_icon.lang().empty())
       icon->lang = strdup(DEFAULT_LOCALE);
     else
@@ -569,7 +568,6 @@ bool StepParseManifest::FillImage(application_x* app,
   for (auto& app_image : image_list.images) {
     image_x* image =
         static_cast<image_x*>(calloc(1, sizeof(image_x)));
-    image->name = strdup(app_image.name().c_str());
     const std::string& lang = app_image.lang();
     if (!lang.empty())
       image->lang = strdup(lang.c_str());