Skip to content

Commit 7112fe6

Browse files
author
Eric Liu
committed
Fix unused variable warning in r332724
llvm-svn: 332734
1 parent ff9c4ff commit 7112fe6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clang/lib/Driver/ToolChains/CommonArgs.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1330,6 +1330,7 @@ void tools::AddHIPLinkerScript(const ToolChain &TC, Compilation &C,
13301330
C.getSingleOffloadToolChain<Action::OFK_HIP>());
13311331
assert(HIPTC->getTriple().getArch() == llvm::Triple::amdgcn &&
13321332
"Wrong platform");
1333+
(void)HIPTC;
13331334

13341335
// Construct clang-offload-bundler command to bundle object files for
13351336
// for different GPU archs.

0 commit comments

Comments
 (0)