Remove redundant initializer
authorKevin Ottens <kevin.ottens@nextcloud.com>
Mon, 25 May 2020 18:12:09 +0000 (20:12 +0200)
committerKevin Ottens <kevin.ottens@nextcloud.com>
Mon, 25 May 2020 18:12:09 +0000 (20:12 +0200)
This is the same value than the initializer value in the header, no need
to repeat it.

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
src/libsync/abstractnetworkjob.cpp

index ca64361d77e836fbb14338e5b011662bfa14628e..b5c098bd11222d00b88896e4cc6be3af9ff0c667 100644 (file)
@@ -52,7 +52,6 @@ AbstractNetworkJob::AbstractNetworkJob(AccountPtr account, const QString &path,
     , _ignoreCredentialFailure(false)
     , _reply(nullptr)
     , _path(path)
-    , _redirectCount(0)
 {
     _timer.setSingleShot(true);
     _timer.setInterval((httpTimeout ? httpTimeout : 300) * 1000); // default to 5 minutes.