diff options
author | Tomasz Swierczek <t.swierczek@samsung.com> | 2023-07-06 09:26:13 +0200 |
---|---|---|
committer | Tomasz Swierczek <t.swierczek@samsung.com> | 2023-07-06 09:26:13 +0200 |
commit | 8e285104e272e059ad93fe56eb5602694264f9a9 (patch) | |
tree | f64261d0b330dbfdaae2811723959598117530d5 | |
parent | 9a92b0f252b66c8dfbd62b16fbaeb7096e79d7f5 (diff) | |
download | security-manager-8e285104e272e059ad93fe56eb5602694264f9a9.tar.gz security-manager-8e285104e272e059ad93fe56eb5602694264f9a9.tar.bz2 security-manager-8e285104e272e059ad93fe56eb5602694264f9a9.zip |
Fix static analysis issues
Change-Id: I90839d874efd4e8b53a7c30870182fbf83c8c248
-rw-r--r-- | src/common/service_impl_utils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/service_impl_utils.cpp b/src/common/service_impl_utils.cpp index 63614310..acc88a12 100644 --- a/src/common/service_impl_utils.cpp +++ b/src/common/service_impl_utils.cpp @@ -195,7 +195,7 @@ int getLegalPkgBaseDirs(const uid_t &uid, bool containSubDir(const std::string &parent, const pkg_paths &paths) { - for (auto path : paths) { + for (auto &path : paths) { if (isSubDir(parent, path.first)) return true; } |