Remove unused code 71/319471/5
authorKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Wed, 23 Oct 2024 13:15:08 +0000 (15:15 +0200)
committerTomasz Swierczek <t.swierczek@samsung.com>
Thu, 24 Oct 2024 10:29:10 +0000 (12:29 +0200)
Change-Id: Ib0423186dc3183ecedb519600922995d438bf2b8

src/common/service_impl.cpp

index f86daf098f955ab115ff443465d46c9239075425..95f00248849d1fb005ad845db57997ab35582795 100644 (file)
@@ -2407,9 +2407,6 @@ int ServiceImpl::prepareApp(const Credentials &creds, const std::string &appName
 
         LogWarning("GetPkgAuthorHash returned : " << authorHash);
 
-        std::vector<std::string> pkgLabels;
-        getPkgLabels(pkgName, pkgLabels);
-
         if (m_smackRules.isPrivilegeMappingEnabled()) {
             // We have to remove all possible privilege related Smack rules, because application
             // policy might have changed from last prepareApp