From 4e11b16aeed8c5b96934e2c2a4ee17c88c5100a4 Mon Sep 17 00:00:00 2001 From: Laszlo Agocs Date: Fri, 24 Jan 2014 11:55:23 +0100 Subject: [PATCH] kmap2qmap: Remove unused variable Change-Id: I4bfe54b90e187e7b70bb8f2b4abd64b04a378b6e Reviewed-by: Robin Burchell --- src/kmap2qmap/main.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/kmap2qmap/main.cpp b/src/kmap2qmap/main.cpp index 265bfa5..fa00e68 100644 --- a/src/kmap2qmap/main.cpp +++ b/src/kmap2qmap/main.cpp @@ -883,8 +883,6 @@ bool KeymapParser::parseSymbol(const QByteArray &str, const QTextCodec * /*codec if (sym == "VoidSymbol" || sym == "nul") return true; - bool try_to_find_qtcode = false; - if (sym[0] >= '0' && sym[0] <= '9') { // kernel internal action number return false; } else if (sym.length() == 6 && sym[1] == '+' && (sym[0] == 'U' || sym[0] == 'u')) { // unicode @@ -892,7 +890,6 @@ bool KeymapParser::parseSymbol(const QByteArray &str, const QTextCodec * /*codec unicode = sym.mid(2).toUInt(&ok, 16); if (!ok) return false; - try_to_find_qtcode = true; } else { // symbolic for (int i = 0; i < symbol_synonyms_size; ++i) { if (sym == symbol_synonyms[i].from) { -- 2.7.4