From e1f472e471533330db05a42d5bcd4e99b211da0c Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 21 May 2021 15:11:04 +0200 Subject: Clean default target type extension logic --- libbuild2/in/target.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'libbuild2/in/target.cxx') diff --git a/libbuild2/in/target.cxx b/libbuild2/in/target.cxx index 0affc04..d9bc8a7 100644 --- a/libbuild2/in/target.cxx +++ b/libbuild2/in/target.cxx @@ -43,14 +43,12 @@ namespace build2 fail (l) << "pattern in in{} prerequisite" << endf; } - extern const char in_ext_def[] = ""; // No extension by default. - const target_type in::static_type { "in", &file::static_type, &target_factory, - &target_extension_fix, + &target_extension_none, nullptr, /* default_extension */ // Taken care of by search. &in_pattern, &target_print_1_ext_verb, // Same as file. -- cgit v1.1