From ad8d50be4016e68a4ab8d765bd9b45a9fdae1a6d Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Sat, 4 Sep 2021 12:38:40 +0300 Subject: Simplify authenticate_*() and rep_fetch() functions semantics --- bpkg/rep-fetch.cxx | 5 ----- 1 file changed, 5 deletions(-) (limited to 'bpkg/rep-fetch.cxx') diff --git a/bpkg/rep-fetch.cxx b/bpkg/rep-fetch.cxx index c000f05..a3480d0 100644 --- a/bpkg/rep-fetch.cxx +++ b/bpkg/rep-fetch.cxx @@ -403,11 +403,6 @@ namespace bpkg bool iu, bool ev) { - if (conf != nullptr && conf->empty ()) - conf = exists (bpkg_dir) ? ¤t_dir : nullptr; - - assert (conf == nullptr || !conf->empty ()); - auto i (temp_dir.find (conf != nullptr ? *conf : empty_dir_path)); assert (i != temp_dir.end ()); -- cgit v1.1