From dc874a99cd1aa600cc80cceeaccbeabc602e7867 Mon Sep 17 00:00:00 2001 From: Akash Date: Mon, 22 Aug 2016 22:31:28 +0530 Subject: [PATCH] LilyPad: Remove useless self assignment CID 146888 (#1 of 1): Self assignment (NO_EFFECT)self_assign: Assignment operation (this->devices[i]->virtualControls + j).uid = (this->devices[i]->virtualControls + j).uid has no effect. --- plugins/LilyPad/InputManager.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/plugins/LilyPad/InputManager.cpp b/plugins/LilyPad/InputManager.cpp index 97976952d4..2891f32c63 100644 --- a/plugins/LilyPad/InputManager.cpp +++ b/plugins/LilyPad/InputManager.cpp @@ -433,7 +433,6 @@ Device *InputDeviceManager::GetActiveDevice(InitInfo *info, unsigned int *uid, i (devices[i]->oldVirtualControlState[j] > 31*FULLY_DOWN/32 && devices[i]->virtualControlState[j] < 7*FULLY_DOWN/8))) { continue; } - devices[i]->virtualControls[j].uid = devices[i]->virtualControls[j].uid; } else if ((((devices[i]->virtualControls[j].uid>>16)&0xFF) == ABSAXIS)) { if (devices[i]->oldVirtualControlState[j] > 15*FULLY_DOWN/16)