aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/file.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/file.cxx')
-rw-r--r--libbuild2/file.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/libbuild2/file.cxx b/libbuild2/file.cxx
index b91de8b..0977895 100644
--- a/libbuild2/file.cxx
+++ b/libbuild2/file.cxx
@@ -1072,7 +1072,11 @@ namespace build2
// Else fall through.
}
else
- assert (ars == nullptr || simple ()); // Shouldn't we have found it?
+ {
+ // Note that here ars may be not NULL. This can happen both when ars
+ // is a simple project or if out_root is in out directory that has
+ // no been configured. In this case falling through is what we want.
+ }
}
// Do additional checks if the outer root could be our amalgamation.