commit | b81e68b9ecffa6796bc36308c7b9ec246aa1d672 | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Fri Jul 13 11:37:45 2018 -0700 |
committer | Janis Danisevskis <jdanis@google.com> | Wed Oct 10 14:29:12 2018 -0700 |
tree | 82d934e1fc930c31f9a1f36c89ca2d490de85a6b | |
parent | 36a9f4ff40ce02d0bed873c62e8b59d87de7b4a2 [diff] |
Fix unnecessary copy initialization warnings Bug: 30413862 Test: build with WITH_TIDY=1 Merged-In: I3002c0f68466f00f9b4e50c5fb14961430c9e625 Change-Id: I3002c0f68466f00f9b4e50c5fb14961430c9e625
diff --git a/keystore/key_store_service.cpp b/keystore/key_store_service.cpp index 95eaa4c..2aaa625 100644 --- a/keystore/key_store_service.cpp +++ b/keystore/key_store_service.cpp
@@ -1599,7 +1599,7 @@ } int isDeviceIdAttestationRequested(const KeymasterArguments& params) { - const hardware::hidl_vec<KeyParameter> paramsVec = params.getParameters(); + const hardware::hidl_vec<KeyParameter>& paramsVec = params.getParameters(); int result = 0; for (size_t i = 0; i < paramsVec.size(); ++i) { switch (paramsVec[i].tag) {