From eefd0f43320bccfeecf162bf398b50ccad7e90dc Mon Sep 17 00:00:00 2001 From: hjk <hjk121@nokiamail.com> Date: Mon, 16 Jun 2014 18:10:02 +0200 Subject: [PATCH] Debugger: Remove unused variable in autotests GDB 7.7 changed behavior e.g. for the names of anonymous fields, we need to adjust dumpers and some tests. Change-Id: I25ae32cc56c4ff63b677a04d6ed9c250e0252140 Reviewed-by: hjk <hjk121@nokiamail.com> --- tests/auto/debugger/tst_dumpers.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/auto/debugger/tst_dumpers.cpp b/tests/auto/debugger/tst_dumpers.cpp index 95b0421a4a..15e75b36f9 100644 --- a/tests/auto/debugger/tst_dumpers.cpp +++ b/tests/auto/debugger/tst_dumpers.cpp @@ -456,13 +456,13 @@ struct Check : CheckBase Check(const QByteArray &iname, const Value &value, const Type &type) : iname(iname), expectedName(nameFromIName(iname)), - expectedValue(value), expectedType(type), qtVersionMajor(0) + expectedValue(value), expectedType(type) {} Check(const QByteArray &iname, const Name &name, const Value &value, const Type &type) : iname(iname), expectedName(name), - expectedValue(value), expectedType(type), qtVersionMajor(0) + expectedValue(value), expectedType(type) {} bool matches(DebuggerEngine engine, int debuggerVersion, int qtVersion) const @@ -489,7 +489,6 @@ struct Check : CheckBase Name expectedName; Value expectedValue; Type expectedType; - int qtVersionMajor; }; struct CheckType : public Check -- GitLab