aboutsummaryrefslogtreecommitdiff
path: root/build2/variable.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/variable.cxx')
-rw-r--r--build2/variable.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/variable.cxx b/build2/variable.cxx
index 8d9aa14..ce88712 100644
--- a/build2/variable.cxx
+++ b/build2/variable.cxx
@@ -1135,7 +1135,7 @@ namespace build2
variable& r (p.first->second);
- if (!p.second)
+ if (!p.second) // Note: overridden variable will always exist.
{
if (t != nullptr || v != nullptr || o != nullptr)
update (r, t, v, o); // Not changing the key.