From: Tomasz Swierczek Date: Thu, 6 Jul 2023 07:53:18 +0000 (+0200) Subject: Fix static analysis issue X-Git-Tag: accepted/tizen/unified/20230712.040715^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=77193f16f406cd24c17351f2fd7662116a8c9172;p=platform%2Fcore%2Fsecurity%2Fode.git Fix static analysis issue Change-Id: I7819ebf0e53e70ed94440affe29db0ea2c8cbedf --- diff --git a/server/internal-encryption.cpp b/server/internal-encryption.cpp index 7b86100..58edac5 100644 --- a/server/internal-encryption.cpp +++ b/server/internal-encryption.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015-2019 Samsung Electronics Co., Ltd All Rights Reserved + * Copyright (c) 2015-2023 Samsung Electronics Co., Ltd All Rights Reserved * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -225,7 +225,7 @@ void stopSystemdUnits() } } - for (auto unit : preprocessUnits) { + for (auto &unit : preprocessUnits) { stopUnit(unit); }