diff --git a/clang/lib/Driver/ToolChains/CommonArgs.cpp b/clang/lib/Driver/ToolChains/CommonArgs.cpp index 6ea89d7726db2d..484a6484a085cc 100644 --- a/clang/lib/Driver/ToolChains/CommonArgs.cpp +++ b/clang/lib/Driver/ToolChains/CommonArgs.cpp @@ -2154,7 +2154,6 @@ bool tools::GetSDLFromOffloadArchive( Lib = Lib.drop_front(2); for (auto LPath : LibraryPaths) { ArchiveOfBundles.clear(); - SmallVector AOBFileNames; auto LibFile = (Lib.startswith(":") ? Lib.drop_front() : IsMSVC ? Lib + Ext : "lib" + Lib + Ext)