diff --git a/security/keymint/support/fuzzer/keymint_attestation_fuzzer.cpp b/security/keymint/support/fuzzer/keymint_attestation_fuzzer.cpp index bd781acb30..1757997453 100644 --- a/security/keymint/support/fuzzer/keymint_attestation_fuzzer.cpp +++ b/security/keymint/support/fuzzer/keymint_attestation_fuzzer.cpp @@ -151,7 +151,7 @@ void KeyMintAttestationFuzzer::process() { extern "C" int LLVMFuzzerInitialize(int /* *argc */, char /* ***argv */) { ::ndk::SpAIBinder binder(AServiceManager_waitForService(kServiceName.c_str())); - gKeyMint = std::move(IKeyMintDevice::fromBinder(binder)); + gKeyMint = IKeyMintDevice::fromBinder(binder); LOG_ALWAYS_FATAL_IF(!gKeyMint, "Failed to get IKeyMintDevice instance."); return 0; }