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, 2 insertions, 2 deletions
diff --git a/bpkg/rep-remove.cxx b/bpkg/rep-remove.cxx
index 5a7f8da..657eee2 100644
--- a/bpkg/rep-remove.cxx
+++ b/bpkg/rep-remove.cxx
@@ -195,13 +195,13 @@ namespace bpkg
using query = query<repository>;
- for (shared_ptr<repository> r:
+ for (shared_ptr<repository> rp:
pointer_result (
db.query<repository> (
query::name != "" &&
query::location.type == to_string (r->location.type ()))))
{
- if (repository_state (r->location) == d)
+ if (repository_state (rp->location) == d)
{
rm = false;
break;