summaryrefslogtreecommitdiff
path: root/src/input/inputactionsortfunctor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/input/inputactionsortfunctor.h')
-rw-r--r--src/input/inputactionsortfunctor.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/input/inputactionsortfunctor.h b/src/input/inputactionsortfunctor.h
index 3de625fea..ec556bf39 100644
--- a/src/input/inputactionsortfunctor.h
+++ b/src/input/inputactionsortfunctor.h
@@ -35,16 +35,6 @@ class InputActionSortFunctor final
{
const size_t k1 = CAST_SIZE(key1);
const size_t k2 = CAST_SIZE(key2);
- if (k1 >= CAST_SIZE(InputAction::TOTAL))
- {
- logger->log("broken key1: %ld", static_cast<long>(k1));
- return false;
- }
- if (k2 >= CAST_SIZE(InputAction::TOTAL))
- {
- logger->log("broken key2: %ld", static_cast<long>(k2));
- return false;
- }
return keys[k1].priority > keys[k2].priority;
}