summaryrefslogtreecommitdiffstats
path: root/tests/auto/qlocalsocket/tst_qlocalsocket.cpp
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@trolltech.com>2009-08-06 10:42:23 (GMT)
committerJoerg Bornemann <joerg.bornemann@trolltech.com>2009-08-06 15:20:54 (GMT)
commitda913bba1a0ecb4b5b8008b120d3951f1b69a2e5 (patch)
tree69007c9a59bf781973dc7532c289621dbcd5e6e3 /tests/auto/qlocalsocket/tst_qlocalsocket.cpp
parenta488f0784b265d350441f5e38dc9021e9c2a50fc (diff)
downloadQt-da913bba1a0ecb4b5b8008b120d3951f1b69a2e5.zip
Qt-da913bba1a0ecb4b5b8008b120d3951f1b69a2e5.tar.gz
Qt-da913bba1a0ecb4b5b8008b120d3951f1b69a2e5.tar.bz2
fix warning in tst_qlocalsocket
Reviewed-by: thartman
Diffstat (limited to 'tests/auto/qlocalsocket/tst_qlocalsocket.cpp')
-rw-r--r--tests/auto/qlocalsocket/tst_qlocalsocket.cpp1
1 files changed, 1 insertions, 0 deletions
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);