projects
/
platform
/
core
/
appfw
/
tpk-backend.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdf15ad
)
Remove TODO
76/114476/2
author
Piotr Ganicz
<p.ganicz@samsung.com>
Mon, 13 Feb 2017 11:10:57 +0000
(12:10 +0100)
committer
jongmyeong ko
<jongmyeong.ko@samsung.com>
Mon, 13 Feb 2017 14:38:09 +0000
(06:38 -0800)
There are no privilege duplications because they are stored in set.
And set can contain only unique keys.
Change-Id: I0e3c066cdc5f2de3ab3ca46af92e7e13f8eddc53
src/lib/tpk_archive_info.cc
patch
|
blob
|
history
diff --git
a/src/lib/tpk_archive_info.cc
b/src/lib/tpk_archive_info.cc
index
14526fb
..
8aebcbd
100644
(file)
--- a/
src/lib/tpk_archive_info.cc
+++ b/
src/lib/tpk_archive_info.cc
@@
-92,7
+92,6
@@
bool GetPrivilegesInfo(const tpk::parse::TPKConfigParser& parser,
const auto& privileges = privileges_info->GetPrivileges();
for (auto& priv : privileges) {
- // TODO(s89.jang): remove duplicates
info->privilege_list = g_list_append(info->privilege_list,
strdup(priv.first.c_str()));
}