1
0
Fork 0
mirror of https://github.com/HamletDuFromage/aio-switch-updater.git synced 2024-11-28 12:22:02 +00:00

remove redundant directory creating during extraction

This commit is contained in:
flb 2022-08-07 16:17:01 +02:00
parent 81913f6bbd
commit 66a24674b2

View file

@ -7,7 +7,6 @@
#include <filesystem>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <iterator>
#include <ranges>
#include <set>
@ -265,7 +264,7 @@ namespace extract {
if (std::find_if(titles.begin(), titles.end(), [&filename, offset](std::string title) {
return caselessCompare((title.substr(0, 13)), filename.substr(offset, 13));
}) != titles.end()) {
extractEntry(filename, zfile, true);
extractEntry(filename, zfile);
}
}
}