Skip to content

Commit

Permalink
fix(daemon): remove redundant error code check
Browse files Browse the repository at this point in the history
  • Loading branch information
LordTermor committed May 8, 2024
1 parent 47bf3e1 commit e1b2e0b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion daemon/persistence/box/export/AlpmDBExporter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ std::expected<void, FsError>
std::generic_category());
return bxt::make_error<FsError>(ec);
}
if (ec) { return bxt::make_error<FsError>(ec); }

const auto relative_target =
std::filesystem::relative(target, link.parent_path(), ec);
Expand Down

0 comments on commit e1b2e0b

Please sign in to comment.