aboutsummaryrefslogtreecommitdiff
path: root/build2/cc/compile.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/cc/compile.cxx')
-rw-r--r--build2/cc/compile.cxx8
1 files changed, 2 insertions, 6 deletions
diff --git a/build2/cc/compile.cxx b/build2/cc/compile.cxx
index 39856df..c4df30f 100644
--- a/build2/cc/compile.cxx
+++ b/build2/cc/compile.cxx
@@ -1576,14 +1576,10 @@ namespace build2
{
file& t (static_cast<file&> (xt));
- initializer_list<const char*> e;
-
if (cid == "msvc")
- e = {".d", ".idb", ".pdb"};
+ return clean_extra (a, t, {".d", ".idb", ".pdb"});
else
- e = {".d"};
-
- return clean_extra (a, t, e);
+ return clean_extra (a, t, {".d"});
}
}
}