From 0c2c12d459a7288f6b2a784bee8c09c5e340c13e Mon Sep 17 00:00:00 2001 From: Ioan Chera Date: Fri, 11 Aug 2023 17:04:46 -0500 Subject: [PATCH] Fixed another error --- src/w_wad.cc | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/w_wad.cc b/src/w_wad.cc index 6b25ce6f..10bd7883 100644 --- a/src/w_wad.cc +++ b/src/w_wad.cc @@ -987,12 +987,6 @@ void Wad_file::FixLevelGroup(int index, int num_added, int num_removed) // void Wad_file::writeToPath(const fs::path &path) const noexcept(false) { - auto check = [&path](const ReportedResult &result) - { - if(!result.success) - throw WadWriteException(SString::printf("Failed writing WAD to file '%s': %s", path.u8string().c_str(), result.message.c_str())); - }; - BufferedOutFile sof(path); // Write the header if(kind == WadKind::PWAD)