projects
/
nextcloud-desktop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed570d6
)
Remove redundant initialization of SyncFileStatus::_shared attribute
author
Stephan Beyer
<s-beyer@gmx.net>
Tue, 7 Jul 2020 07:20:12 +0000
(09:20 +0200)
committer
Kevin 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
patch
|
blob
|
history
diff --git
a/src/libsync/syncfilestatus.cpp
b/src/libsync/syncfilestatus.cpp
index b4bcfd23448808a9fd8b314c24036bb32a6c5ef6..c937f9b299319b2b4ab223ab64768ade886542e5 100644
(file)
--- a/
src/libsync/syncfilestatus.cpp
+++ b/
src/libsync/syncfilestatus.cpp
@@
-21,7
+21,6
@@
SyncFileStatus::SyncFileStatus()
SyncFileStatus::SyncFileStatus(SyncFileStatusTag tag)
: _tag(tag)
- , _shared(false)
{
}