Purge a verbose no-op.

An if with no side-effects in its test and an empty body is a no-op.
An else block with nothing but a no-op in it is a no-op.
A no-op without even pedagogic value is just a distraction.

Change-Id: I224831a325e6b770d0a99d726d96f73da4b8c11f
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@theqtcompany.com>
This commit is contained in:
Edward Welbourne 2016-03-08 13:34:29 +01:00
parent b366530f58
commit 5834f5a509

View File

@ -1788,10 +1788,6 @@ void QNetworkReplyHttpImplPrivate::_q_startOperation()
if (synchronous) {
state = Finished;
q_func()->setFinished(true);
} else {
if (state != Finished) {
}
}
}