From 806ede241a0d6bfb0c3e227343df5ef3e95128e2 Mon Sep 17 00:00:00 2001 From: Gregory Hainaut Date: Thu, 11 May 2017 21:45:49 +0200 Subject: [PATCH] onepad: remove useless code reported by Coverity (I forgot to remove the code) --- plugins/onepad/Linux/dialog.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/plugins/onepad/Linux/dialog.cpp b/plugins/onepad/Linux/dialog.cpp index 129ff26281..9ea3131a89 100644 --- a/plugins/onepad/Linux/dialog.cpp +++ b/plugins/onepad/Linux/dialog.cpp @@ -21,9 +21,6 @@ static std::string KeyName(int pad, int key, int keysym) { - if (!keysym) - return ""; - // Mouse if (keysym < 10) { switch (keysym) {