From: Christian Kamm Date: Thu, 15 Nov 2018 08:27:35 +0000 (+0100) Subject: vfs: Document ignored return value. X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~21^2~468^2~386 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=5b26b739f02c87f854057a140d233f73f262ff4e;p=nextcloud-desktop.git vfs: Document ignored return value. --- diff --git a/src/csync/vio/csync_vio_local_unix.cpp b/src/csync/vio/csync_vio_local_unix.cpp index 705d04252..56de3250c 100644 --- 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_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; }