diff options
author | Jędrzej Nowacki <jedrzej.nowacki@theqtcompany.com> | 2015-01-12 16:58:26 +0100 |
---|---|---|
committer | Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com> | 2015-01-13 12:59:57 +0100 |
commit | f0f5beb0e5db5538b38f07e6ecab89cc292ef609 (patch) | |
tree | 51403b9479ccd6f210aa6f44a8d3d60e5155e5df /tests/auto | |
parent | 883f672db509d73cca43f82121a5ed315ee0eabf (diff) |
Remove unnecessary call to strlen
The call was invalid from C99 perspective.
Change-Id: Ie07310735736eddf5eb0e142297e56164fde7fe4
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com>
Diffstat (limited to 'tests/auto')
-rw-r--r-- | tests/auto/tools/moc/tst_moc.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/auto/tools/moc/tst_moc.cpp b/tests/auto/tools/moc/tst_moc.cpp index 3117bcd09a..8e5de04718 100644 --- a/tests/auto/tools/moc/tst_moc.cpp +++ b/tests/auto/tools/moc/tst_moc.cpp @@ -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'); |