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:
parent
b366530f58
commit
5834f5a509
@ -1788,10 +1788,6 @@ void QNetworkReplyHttpImplPrivate::_q_startOperation()
|
||||
if (synchronous) {
|
||||
state = Finished;
|
||||
q_func()->setFinished(true);
|
||||
} else {
|
||||
if (state != Finished) {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user