Skip to content

Commit

Permalink
Remove shadow re-declaration of ec variable
Browse files Browse the repository at this point in the history
  • Loading branch information
nightlark committed Dec 6, 2024
1 parent 7479e22 commit 22d1cca
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion dirtiles.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ void check_dir(const char *dir, char **argv, bool force, bool forcetable) {
std::string fn = std::string(dir) + "/" + tiles[i].path();

if (force) {
std::error_code ec;
fs::remove(fn, ec);
if (ec) {
perror(fn.c_str());
Expand Down

0 comments on commit 22d1cca

Please sign in to comment.