aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2021-10-01 11:23:19 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2021-10-01 12:04:38 +0200
commitd4457a6427401ed4d5c09eba00cac84c5664f250 (patch)
tree764adfe119f5a30829af343e378be364955d1360
parentf63c0548281015ca1f7d71079c0880e3634063fb (diff)
Add missing return to scope::bundle_root()
-rw-r--r--libbuild2/scope.ixx4
1 files changed, 4 insertions, 0 deletions
diff --git a/libbuild2/scope.ixx b/libbuild2/scope.ixx
index c8214f6..e123e4a 100644
--- a/libbuild2/scope.ixx
+++ b/libbuild2/scope.ixx
@@ -82,6 +82,8 @@ namespace build2
return r;
}
+
+ return nullptr;
}
inline const scope* scope::
@@ -102,6 +104,8 @@ namespace build2
return r;
}
+
+ return nullptr;
}
inline scope* scope::