mirror of
https://github.com/holub/mame
synced 2025-04-21 07:52:35 +03:00
formats: Fixed some unused local variable compiler errors. (#10251)
This commit is contained in:
parent
c8c50449c0
commit
c5903dc33b
@ -349,6 +349,7 @@ std::pair<err_t, meta_data> oric_jasmin_impl::metadata(const std::vector<std::st
|
||||
return std::make_pair(ERR_NOT_FOUND, meta_data());
|
||||
|
||||
auto [bdir, off, sys] = file_find(path[0]);
|
||||
std::ignore = sys;
|
||||
if(!off)
|
||||
return std::make_pair(ERR_NOT_FOUND, meta_data());
|
||||
|
||||
@ -412,6 +413,7 @@ err_t oric_jasmin_impl::rename(const std::vector<std::string> &opath, const std:
|
||||
return ERR_NOT_FOUND;
|
||||
|
||||
auto [bdir, off, sys] = file_find(opath[0]);
|
||||
std::ignore = sys;
|
||||
if(!off)
|
||||
return ERR_NOT_FOUND;
|
||||
|
||||
|
@ -435,6 +435,7 @@ static int hddir(int argc, char *argv[])
|
||||
static int generic_read(image_handler &ih, const char *srcpath, const char *dstpath)
|
||||
{
|
||||
auto [fsm, fs] = ih.get_fs();
|
||||
std::ignore = fsm;
|
||||
|
||||
std::vector<std::string> path = ih.path_split(srcpath);
|
||||
auto [err, dfork] = fs->file_read(path);
|
||||
@ -533,6 +534,7 @@ static int generic_write(image_handler &ih, const char *srcpath, const char *dst
|
||||
|
||||
std::vector<std::string> path = ih.path_split(dstpath);
|
||||
auto [err, meta] = fs->metadata(path);
|
||||
std::ignore = meta;
|
||||
|
||||
if(err) {
|
||||
fs::meta_data meta;
|
||||
|
Loading…
Reference in New Issue
Block a user