From 52dda0ad8f3f9b6dddb179f6f259d33dae660d3c Mon Sep 17 00:00:00 2001 From: jongmyeongko Date: Tue, 16 Feb 2016 16:02:47 +0900 Subject: [PATCH] remove not-used attribute (name of icon, name of image) Requires: https://review.tizen.org/gerrit/#/c/59508/ Change-Id: I37b6ae310a478d32df766c3abc150311033ca02f Signed-off-by: jongmyeongko --- src/common/step/step_parse_manifest.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/common/step/step_parse_manifest.cc b/src/common/step/step_parse_manifest.cc index 3288141..7364039 100644 --- a/src/common/step/step_parse_manifest.cc +++ b/src/common/step/step_parse_manifest.cc @@ -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(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()); -- 2.7.4