From 53877f7111690b7e34d99c322620889f130e9c85 Mon Sep 17 00:00:00 2001 From: Junghyun Yeon Date: Wed, 1 Feb 2017 14:02:41 +0900 Subject: [PATCH] Fix build warning, coding rule - Fix build warning and coding rule Change-Id: Ia66bec86eb7b415cbf844ce60abe12a5ea5f68b0 Signed-off-by: Junghyun Yeon --- src/unit_tests/smoke_test.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/unit_tests/smoke_test.cc b/src/unit_tests/smoke_test.cc index f2b006e..15e3ac8 100644 --- a/src/unit_tests/smoke_test.cc +++ b/src/unit_tests/smoke_test.cc @@ -200,7 +200,7 @@ void ValidatePackageRWFS(const std::string& pkgid, uid_t uid) { ASSERT_EQ(*system_share, stats.st_gid) << "Invalid gid: " << cache_path; } -void ValidatePackageFS(const std::string& pkgid, const std::string& appid, +void ValidatePackageFS(const std::string& pkgid, const std::string&, uid_t uid, gid_t gid) { bf::path root_path = ci::GetRootAppPath(false, uid); bf::path package_path = root_path / pkgid; @@ -600,7 +600,7 @@ class SmokeEnvironment : public testing::Environment { BackupPath(path); } void TearDown() override { - // TODO(s89.jang): Uninstall smoke packages to clear security context + // TODO(s89.jang): Uninstall smoke packages to clear security context for (auto& path : backups_) RestorePath(path); } -- 2.7.4