diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2019-08-23 12:24:23 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2019-08-23 12:24:23 +0200 |
commit | 20f97f06ce54c31e32cf58cfd1b7cae3617c1661 (patch) | |
tree | 77c38da3112396d66bebd167434f628e0115c6e6 /libbuild2/scope.cxx | |
parent | e7cc0a1a047ebe864f17e7d354214458cf87554e (diff) |
Get rid of var_extension char array
Diffstat (limited to 'libbuild2/scope.cxx')
-rw-r--r-- | libbuild2/scope.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libbuild2/scope.cxx b/libbuild2/scope.cxx index ab81333..298c1b0 100644 --- a/libbuild2/scope.cxx +++ b/libbuild2/scope.cxx @@ -801,12 +801,12 @@ namespace build2 // dt->default_extension = ext && dt->fixed_extension == nullptr - ? &target_extension_var<var_extension, nullptr> + ? &target_extension_var<nullptr> : nullptr; dt->pattern = dt->fixed_extension != nullptr ? nullptr /*&target_pattern_fix<???>*/ : - dt->default_extension != nullptr ? &target_pattern_var<var_extension, nullptr> : + dt->default_extension != nullptr ? &target_pattern_var<nullptr> : nullptr; // There is actually a difference between "fixed fixed" (like man1{}) and |