use a macro to silence compiler warnings
This commit is contained in:
parent
907cf1d07d
commit
c5a6f16cd5
@ -135,7 +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;
|
UNUSED(path);
|
||||||
callFsActionCallbacks();
|
callFsActionCallbacks();
|
||||||
uint64_t numUsedBlocks = _fsBlobStore->numBlocks();
|
uint64_t numUsedBlocks = _fsBlobStore->numBlocks();
|
||||||
uint64_t numFreeBlocks = _fsBlobStore->estimateSpaceForNumBlocksLeft();
|
uint64_t numFreeBlocks = _fsBlobStore->estimateSpaceForNumBlocksLeft();
|
||||||
|
@ -35,7 +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;
|
UNUSED(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,7 +40,7 @@ CryNode::~CryNode() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void CryNode::access(int mask) const {
|
void CryNode::access(int mask) const {
|
||||||
(void)mask;
|
UNUSED(mask);
|
||||||
device()->callFsActionCallbacks();
|
device()->callFsActionCallbacks();
|
||||||
//TODO
|
//TODO
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user