From f0f5beb0e5db5538b38f07e6ecab89cc292ef609 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C4=99drzej=20Nowacki?= Date: Mon, 12 Jan 2015 16:58:26 +0100 Subject: Remove unnecessary call to strlen The call was invalid from C99 perspective. Change-Id: Ie07310735736eddf5eb0e142297e56164fde7fe4 Reviewed-by: Gabriel de Dietrich --- tests/auto/tools/moc/tst_moc.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'tests') 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'); -- cgit v1.2.3