aboutsummaryrefslogtreecommitdiff
path: root/build2/variable.ixx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/variable.ixx')
-rw-r--r--build2/variable.ixx4
1 files changed, 1 insertions, 3 deletions
diff --git a/build2/variable.ixx b/build2/variable.ixx
index ee0f647..821d224 100644
--- a/build2/variable.ixx
+++ b/build2/variable.ixx
@@ -30,9 +30,7 @@ namespace build2
//
if (type == nullptr)
{
- if (!null ())
- *this = nullptr;
-
+ *this = nullptr;
type = &value_traits<T>::value_type;
}