diff options
Diffstat (limited to 'build2/parser.cxx')
-rw-r--r-- | build2/parser.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/build2/parser.cxx b/build2/parser.cxx index 688df86..54bb670 100644 --- a/build2/parser.cxx +++ b/build2/parser.cxx @@ -3598,12 +3598,11 @@ namespace build2 out = out_src (d, *root_); } - const char* e (p.extension ()); targets.insert<buildfile> ( move (d), move (out), p.leaf ().base ().string (), - &extension_pool.find (e == nullptr ? "" : e), // Always specified. + &extension_pool.find (p.extension ()), // Always specified. trace); } |