mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
vfs: Document ignored return value.
This commit is contained in:
parent
77e5b956d1
commit
5b26b739f0
@ -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;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user