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:
77e5b95
)
vfs: Document ignored return value.
author
Christian Kamm
<mail@ckamm.de>
Thu, 15 Nov 2018 08:27:35 +0000
(09:27 +0100)
committer
Kevin Ottens
<kevin.ottens@nextcloud.com>
Tue, 15 Dec 2020 09:58:25 +0000
(10:58 +0100)
src/csync/vio/csync_vio_local_unix.cpp
patch
|
blob
|
history
diff --git
a/src/csync/vio/csync_vio_local_unix.cpp
b/src/csync/vio/csync_vio_local_unix.cpp
index 705d04252891793fdc310b27c1449f16415f298f..56de3250cea4f2c6d4573e675eb85b2a0274b154 100644
(file)
--- a/
src/csync/vio/csync_vio_local_unix.cpp
+++ b/
src/csync/vio/csync_vio_local_unix.cpp
@@
-123,8
+123,11
@@
std::unique_ptr<csync_file_stat_t> csync_vio_local_readdir(csync_vio_handle_t *h
}
// Override type for virtual files if desired
- if (vfs)
+ if (vfs) {
+ // Directly modifiest file_stat->type.
+ // We can ignore the return value since we're done here anyway.
vfs->statTypeVirtualFile(file_stat.get(), nullptr);
+ }
return file_stat;
}