summaryrefslogtreecommitdiffstats
path: root/src/network/access/qnetworkreplyhttpimpl.cpp
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@theqtcompany.com>2016-03-08 13:34:29 +0100
committerEdward Welbourne <edward.welbourne@theqtcompany.com>2016-03-08 13:34:03 +0000
commit5834f5a509e3ac0ddd8f18c71846986d2214fc07 (patch)
treec85c1cb4d3f11488cdbdee1130f9741d1ca4c25d /src/network/access/qnetworkreplyhttpimpl.cpp
parentb366530f584eb4d3e94e32783d533a4a0557f8f4 (diff)
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>
Diffstat (limited to 'src/network/access/qnetworkreplyhttpimpl.cpp')
-rw-r--r--src/network/access/qnetworkreplyhttpimpl.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/network/access/qnetworkreplyhttpimpl.cpp b/src/network/access/qnetworkreplyhttpimpl.cpp
index 5d0e5b998b..2adaff95a5 100644
--- a/src/network/access/qnetworkreplyhttpimpl.cpp
+++ b/src/network/access/qnetworkreplyhttpimpl.cpp
@@ -1788,10 +1788,6 @@ void QNetworkReplyHttpImplPrivate::_q_startOperation()
if (synchronous) {
state = Finished;
q_func()->setFinished(true);
- } else {
- if (state != Finished) {
-
- }
}
}