tst_qnetworkreply: drop semicolon from end of do-while macro body
The whole point of this pattern is that the macro can be used with a semi-colon after it and be a single statement; if it has a semicolon in it, that makes it two (so, e.g., using it as the body of an if, without braces, won't let you follow it with an else). Change-Id: I57aca35898711ca24e10ddab73e075d361ef7eb8 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@theqtcompany.com>bb10
parent
eee4167a90
commit
0971a46e50
|
|
@ -534,7 +534,7 @@ QT_END_NAMESPACE
|
|||
QString errorMsg = call; \
|
||||
if (!errorMsg.isEmpty()) \
|
||||
QFAIL(qPrintable(errorMsg)); \
|
||||
} while (0);
|
||||
} while (0)
|
||||
|
||||
#ifndef QT_NO_SSL
|
||||
static void setupSslServer(QSslSocket* serverSocket)
|
||||
|
|
|
|||
Loading…
Reference in New Issue