From e1b2e0bbe150152a4bd71cfdd04b81a0270a57cc Mon Sep 17 00:00:00 2001 From: Artem Grinev Date: Wed, 8 May 2024 15:20:29 +0000 Subject: [PATCH] fix(daemon): remove redundant error code check --- daemon/persistence/box/export/AlpmDBExporter.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/daemon/persistence/box/export/AlpmDBExporter.cpp b/daemon/persistence/box/export/AlpmDBExporter.cpp index 9a241fec..de5e9b8d 100644 --- a/daemon/persistence/box/export/AlpmDBExporter.cpp +++ b/daemon/persistence/box/export/AlpmDBExporter.cpp @@ -37,7 +37,6 @@ std::expected std::generic_category()); return bxt::make_error(ec); } - if (ec) { return bxt::make_error(ec); } const auto relative_target = std::filesystem::relative(target, link.parent_path(), ec);