From: Seungbaek Hong Date: Mon, 25 Mar 2024 02:27:29 +0000 (+0900) Subject: [coverity] fix coverity issue X-Git-Tag: accepted/tizen/unified/20240402.151301~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f4d3aa7a73310157825518c77ef685b0751c1a77;p=platform%2Fcore%2Fml%2Fnntrainer.git [coverity] fix coverity issue Fix coverity issue on - /test/unittest/layers/layers_golden_recurrent.cpp The other issues assigned have already been fixed. **Self evaluation:** 1. Build test: [X]Passed [ ]Failed [ ]Skipped 2. Run test: [X]Passed [ ]Failed [ ]Skipped Signed-off-by: Seungbaek Hong --- diff --git a/test/unittest/models/unittest_models_recurrent.cpp b/test/unittest/models/unittest_models_recurrent.cpp index d20d41b..6647767 100644 --- a/test/unittest/models/unittest_models_recurrent.cpp +++ b/test/unittest/models/unittest_models_recurrent.cpp @@ -673,6 +673,5 @@ GTEST_PARAMETER_TEST( ModelTestOption::ALL_V2), mkModelTc_V2(makeStackedGRUCellFC, "grucell_fc", ModelTestOption::ALL_V2), }), - [](const testing::TestParamInfo &info) { - return std::get<1>(info.param); - }); + [](const testing::TestParamInfo &info) + -> const auto & { return std::get<1>(info.param); });