diff options
author | 2022-08-25 14:23:36 +0200 | |
---|---|---|
committer | 2022-08-25 22:23:36 +1000 | |
commit | c5903dc33b34077b12a9999dc50c5f209fa39d0e (patch) | |
tree | e50fba181d01e6fc14359db6f805b66daef4e352 /src/tools/floptool.cpp | |
parent | c8c50449c02342e5eb4ccf00184ee5cebdb71ee5 (diff) |
formats: Fixed some unused local variable compiler errors. (#10251)
Diffstat (limited to 'src/tools/floptool.cpp')
-rw-r--r-- | src/tools/floptool.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tools/floptool.cpp b/src/tools/floptool.cpp index e09ccccd349..e39273e0a12 100644 --- a/src/tools/floptool.cpp +++ b/src/tools/floptool.cpp @@ -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; |