summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/commandhandler.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/commandhandler.cpp b/src/commandhandler.cpp
index 37ee853b0..6876f4463 100644
--- a/src/commandhandler.cpp
+++ b/src/commandhandler.cpp
@@ -685,9 +685,6 @@ void CommandHandler::handleNavigate(const std::string &args,
bool CommandHandler::parse2Int(const std::string &args, int &x, int &y)
{
- if (!x || !y)
- return false;
-
bool isValid = false;
const size_t pos = args.find(" ");
if (pos != std::string::npos)