From 5138a49591b7293f8cf35588c07f0db314e19f1d Mon Sep 17 00:00:00 2001 From: Nikolaj Schlej Date: Mon, 21 Mar 2016 11:36:22 +0100 Subject: [PATCH] Remove unneeded string conversion --- common/ffsparser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/ffsparser.cpp b/common/ffsparser.cpp index 5d14d6a..3443957 100644 --- a/common/ffsparser.cpp +++ b/common/ffsparser.cpp @@ -3190,7 +3190,7 @@ parsing_done: .hexarg(extendedData.size()), varIndex); // Check variable name to be in the list of nesting variables - if (text.toLatin1() == QString("StdDefaults") || text.toLatin1() == QString("MfgDefaults")) { + if (text == QString("StdDefaults") || text == QString("MfgDefaults")) { STATUS result = parseNvarStorage(body, varIndex); if (result) msg(QObject::tr("parseNvarStorage: parsing of nested NVAR storage failed with error \"%1\"").arg(errorCodeToQString(result)), varIndex);