From da913bba1a0ecb4b5b8008b120d3951f1b69a2e5 Mon Sep 17 00:00:00 2001 From: Joerg Bornemann Date: Thu, 6 Aug 2009 12:42:23 +0200 Subject: fix warning in tst_qlocalsocket Reviewed-by: thartman --- tests/auto/qlocalsocket/tst_qlocalsocket.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/auto/qlocalsocket/tst_qlocalsocket.cpp b/tests/auto/qlocalsocket/tst_qlocalsocket.cpp index a41eecd..b861e62 100644 --- a/tests/auto/qlocalsocket/tst_qlocalsocket.cpp +++ b/tests/auto/qlocalsocket/tst_qlocalsocket.cpp @@ -918,6 +918,7 @@ void tst_QLocalSocket::writeOnlySocket() QVERIFY(server.waitForNewConnection()); QLocalSocket* serverSocket = server.nextPendingConnection(); + QVERIFY(serverSocket); QCOMPARE(client.bytesAvailable(), qint64(0)); QCOMPARE(client.state(), QLocalSocket::ConnectedState); -- cgit v0.12