vfs: Document ignored return value.

This commit is contained in:
Christian Kamm 2018-11-15 09:27:35 +01:00 committed by Kevin Ottens
parent 77e5b956d1
commit 5b26b739f0
No known key found for this signature in database
GPG Key ID: 074BBBCB8DECC9E2

View File

@ -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;
}