remove compiler warnings
This commit is contained in:
parent
61e56cfeab
commit
de6462e548
@ -135,6 +135,7 @@ unique_ref<FsBlobRef> CryDevice::LoadBlob(const bf::path &path) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void CryDevice::statfs(const bf::path &path, struct statvfs *fsstat) {
|
void CryDevice::statfs(const bf::path &path, struct statvfs *fsstat) {
|
||||||
|
(void)path;
|
||||||
callFsActionCallbacks();
|
callFsActionCallbacks();
|
||||||
uint64_t numUsedBlocks = _fsBlobStore->numBlocks();
|
uint64_t numUsedBlocks = _fsBlobStore->numBlocks();
|
||||||
uint64_t numFreeBlocks = _fsBlobStore->estimateSpaceForNumBlocksLeft();
|
uint64_t numFreeBlocks = _fsBlobStore->estimateSpaceForNumBlocksLeft();
|
||||||
|
@ -35,6 +35,7 @@ unique_ref<parallelaccessfsblobstore::FileBlobRef> CryFile::LoadBlob() const {
|
|||||||
}
|
}
|
||||||
|
|
||||||
unique_ref<fspp::OpenFile> CryFile::open(int flags) const {
|
unique_ref<fspp::OpenFile> CryFile::open(int flags) const {
|
||||||
|
(void)flags;
|
||||||
device()->callFsActionCallbacks();
|
device()->callFsActionCallbacks();
|
||||||
auto blob = LoadBlob();
|
auto blob = LoadBlob();
|
||||||
return make_unique_ref<CryOpenFile>(device(), parent(), std::move(blob));
|
return make_unique_ref<CryOpenFile>(device(), parent(), std::move(blob));
|
||||||
|
@ -40,6 +40,7 @@ CryNode::~CryNode() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void CryNode::access(int mask) const {
|
void CryNode::access(int mask) const {
|
||||||
|
(void)mask;
|
||||||
device()->callFsActionCallbacks();
|
device()->callFsActionCallbacks();
|
||||||
//TODO
|
//TODO
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user