Remove unnecessary call to strlen
The call was invalid from C99 perspective. Change-Id: Ie07310735736eddf5eb0e142297e56164fde7fe4 Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com>bb10
parent
883f672db5
commit
f0f5beb0e5
|
|
@ -3363,7 +3363,6 @@ void tst_Moc::veryLongStringData()
|
|||
const QMetaObject *mobj = &VeryLongStringData::staticMetaObject;
|
||||
QCOMPARE(mobj->classInfoCount(), 4);
|
||||
|
||||
strlen(0);
|
||||
QCOMPARE(mobj->classInfo(0).name()[0], 'n');
|
||||
QCOMPARE(mobj->classInfo(0).value()[0], 'i');
|
||||
QCOMPARE(mobj->classInfo(1).name()[0], 'e');
|
||||
|
|
|
|||
Loading…
Reference in New Issue