From cef0eb8ea5bbbd18af936c04803408c0a2e0a28f Mon Sep 17 00:00:00 2001 From: Siarhei Vishniakou Date: Fri, 5 Aug 2022 12:14:46 -0700 Subject: Remove unused variable outKey This output variable is never used, delete it. Bug: 238626341 Test: atest libinput_tests inputflinger_tests Change-Id: Ide7d91f83ae88b2273519eabe1e8cb58ce89a9e5 --- include/input/KeyCharacterMap.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include/input/KeyCharacterMap.h') diff --git a/include/input/KeyCharacterMap.h b/include/input/KeyCharacterMap.h index f6f8939b7a..c2afb014e1 100644 --- a/include/input/KeyCharacterMap.h +++ b/include/input/KeyCharacterMap.h @@ -240,8 +240,7 @@ private: KeyCharacterMap(const std::string& filename); bool getKey(int32_t keyCode, const Key** outKey) const; - bool getKeyBehavior(int32_t keyCode, int32_t metaState, - const Key** outKey, const Behavior** outBehavior) const; + bool getKeyBehavior(int32_t keyCode, int32_t metaState, const Behavior** outBehavior) const; static bool matchesMetaState(int32_t eventMetaState, int32_t behaviorMetaState); bool findKey(char16_t ch, int32_t* outKeyCode, int32_t* outMetaState) const; -- cgit v1.2.3-59-g8ed1b