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
Jędrzej Nowacki 2015-01-12 16:58:26 +01:00 committed by Gabriel de Dietrich
parent 883f672db5
commit f0f5beb0e5
1 changed files with 0 additions and 1 deletions

View File

@ -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');