Remove redundant initialization of SyncFileStatus::_shared attribute
authorStephan Beyer <s-beyer@gmx.net>
Tue, 7 Jul 2020 07:20:12 +0000 (09:20 +0200)
committerKevin Ottens <ervin@ipsquad.net>
Wed, 8 Jul 2020 12:08:41 +0000 (14:08 +0200)
The value gets already initialized by default member initialization,
so there is no need to set it again in the copy constructor.

Signed-off-by: Stephan Beyer <s-beyer@gmx.net>
src/libsync/syncfilestatus.cpp

index b4bcfd23448808a9fd8b314c24036bb32a6c5ef6..c937f9b299319b2b4ab223ab64768ade886542e5 100644 (file)
@@ -21,7 +21,6 @@ SyncFileStatus::SyncFileStatus()
 
 SyncFileStatus::SyncFileStatus(SyncFileStatusTag tag)
     : _tag(tag)
-    , _shared(false)
 {
 }