aboutsummaryrefslogtreecommitdiff
path: root/bdep/deinit.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'bdep/deinit.cxx')
-rw-r--r--bdep/deinit.cxx18
1 files changed, 10 insertions, 8 deletions
diff --git a/bdep/deinit.cxx b/bdep/deinit.cxx
index 735b746..18acf52 100644
--- a/bdep/deinit.cxx
+++ b/bdep/deinit.cxx
@@ -111,14 +111,16 @@ namespace bdep
database db (open (prj, trace));
- transaction t (db.begin ());
- configurations cfgs (
- find_configurations (o,
- prj,
- t,
- true /* fallback_default */,
- !force /* validate */));
- t.commit ();
+ configurations cfgs;
+ {
+ transaction t (db.begin ());
+ cfgs = find_configurations (o,
+ prj,
+ t,
+ true /* fallback_default */,
+ !force /* validate */);
+ t.commit ();
+ }
// If specified, verify packages are present in each configuration.
//