aboutsummaryrefslogtreecommitdiff
path: root/bpkg/rep-remove.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'bpkg/rep-remove.cxx')
-rw-r--r--bpkg/rep-remove.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/bpkg/rep-remove.cxx b/bpkg/rep-remove.cxx
index 192fe47..c070418 100644
--- a/bpkg/rep-remove.cxx
+++ b/bpkg/rep-remove.cxx
@@ -433,9 +433,7 @@ namespace bpkg
try
{
repository_url u (a);
-
- if (u.empty ())
- fail << "empty repository location";
+ assert (!u.empty ());
for (const lazy_shared_ptr<repository>& rp: ua)
{