浏览代码

remove unused variables

Robert Maynard 3 年之前
父节点
当前提交
4a552ab4ad
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      Source/cmLinkLineDeviceComputer.cxx

+ 0 - 1
Source/cmLinkLineDeviceComputer.cxx

@@ -57,7 +57,6 @@ bool cmLinkLineDeviceComputer::ComputeRequiresDeviceLinking(
   // For this we only consider targets
   using ItemVector = cmComputeLinkInformation::ItemVector;
   ItemVector const& items = cli.GetItems();
-  std::string config = cli.GetConfig();
   return std::any_of(
     items.begin(), items.end(),
     [](cmComputeLinkInformation::Item const& item) -> bool {