diff options
author | Joerg Bornemann <joerg.bornemann@trolltech.com> | 2009-08-06 10:42:23 (GMT) |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@trolltech.com> | 2009-08-06 15:20:54 (GMT) |
commit | da913bba1a0ecb4b5b8008b120d3951f1b69a2e5 (patch) | |
tree | 69007c9a59bf781973dc7532c289621dbcd5e6e3 /tests/auto | |
parent | a488f0784b265d350441f5e38dc9021e9c2a50fc (diff) | |
download | Qt-da913bba1a0ecb4b5b8008b120d3951f1b69a2e5.zip Qt-da913bba1a0ecb4b5b8008b120d3951f1b69a2e5.tar.gz Qt-da913bba1a0ecb4b5b8008b120d3951f1b69a2e5.tar.bz2 |
fix warning in tst_qlocalsocket
Reviewed-by: thartman
Diffstat (limited to 'tests/auto')
-rw-r--r-- | tests/auto/qlocalsocket/tst_qlocalsocket.cpp | 1 |
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); |