remove compiler warnings

This commit is contained in:
Francis Banyikwa 2016-06-01 11:34:19 +03:00
parent 61e56cfeab
commit de6462e548
3 changed files with 3 additions and 0 deletions

View File

@ -135,6 +135,7 @@ unique_ref<FsBlobRef> CryDevice::LoadBlob(const bf::path &path) {
}
void CryDevice::statfs(const bf::path &path, struct statvfs *fsstat) {
(void)path;
callFsActionCallbacks();
uint64_t numUsedBlocks = _fsBlobStore->numBlocks();
uint64_t numFreeBlocks = _fsBlobStore->estimateSpaceForNumBlocksLeft();

View File

@ -35,6 +35,7 @@ unique_ref<parallelaccessfsblobstore::FileBlobRef> CryFile::LoadBlob() const {
}
unique_ref<fspp::OpenFile> CryFile::open(int flags) const {
(void)flags;
device()->callFsActionCallbacks();
auto blob = LoadBlob();
return make_unique_ref<CryOpenFile>(device(), parent(), std::move(blob));

View File

@ -40,6 +40,7 @@ CryNode::~CryNode() {
}
void CryNode::access(int mask) const {
(void)mask;
device()->callFsActionCallbacks();
//TODO
return;