summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface')
-rw-r--r--Source/Core/InputCommon/ControllerInterface/ExpressionParser.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/ExpressionParser.cpp b/Source/Core/InputCommon/ControllerInterface/ExpressionParser.cpp
index 40d61b0e77..bcb2c95a96 100644
--- a/Source/Core/InputCommon/ControllerInterface/ExpressionParser.cpp
+++ b/Source/Core/InputCommon/ControllerInterface/ExpressionParser.cpp
@@ -63,8 +63,6 @@ public:
{
switch (type)
{
- case TOK_INVALID:
- return "Invalid";
case TOK_DISCARD:
return "Discard";
case TOK_EOF:
@@ -83,7 +81,11 @@ public:
return "+";
case TOK_CONTROL:
return "Device(" + (std::string)qualifier + ")";
+ case TOK_INVALID:
+ break;
}
+
+ return "Invalid";
}
};