forked from qt-creator/qt-creator
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>
This commit is contained in:
@@ -456,13 +456,13 @@ struct Check : CheckBase
|
|||||||
|
|
||||||
Check(const QByteArray &iname, const Value &value, const Type &type)
|
Check(const QByteArray &iname, const Value &value, const Type &type)
|
||||||
: iname(iname), expectedName(nameFromIName(iname)),
|
: iname(iname), expectedName(nameFromIName(iname)),
|
||||||
expectedValue(value), expectedType(type), qtVersionMajor(0)
|
expectedValue(value), expectedType(type)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
Check(const QByteArray &iname, const Name &name,
|
Check(const QByteArray &iname, const Name &name,
|
||||||
const Value &value, const Type &type)
|
const Value &value, const Type &type)
|
||||||
: iname(iname), expectedName(name),
|
: iname(iname), expectedName(name),
|
||||||
expectedValue(value), expectedType(type), qtVersionMajor(0)
|
expectedValue(value), expectedType(type)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
bool matches(DebuggerEngine engine, int debuggerVersion, int qtVersion) const
|
bool matches(DebuggerEngine engine, int debuggerVersion, int qtVersion) const
|
||||||
@@ -489,7 +489,6 @@ struct Check : CheckBase
|
|||||||
Name expectedName;
|
Name expectedName;
|
||||||
Value expectedValue;
|
Value expectedValue;
|
||||||
Type expectedType;
|
Type expectedType;
|
||||||
int qtVersionMajor;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
struct CheckType : public Check
|
struct CheckType : public Check
|
||||||
|
Reference in New Issue
Block a user