[clang] Fix an unused variable warning

This patch fixes:

  clang/lib/Driver/ToolChains/PS4CPU.cpp:159:14: error: unused
  variable 'IsPS5' [-Werror,-Wunused-variable]
This commit is contained in:
Kazu Hirata 2022-09-20 17:41:58 -07:00
parent 3ae4c3589e
commit 7a239200e6
1 changed files with 1 additions and 0 deletions

View File

@ -158,6 +158,7 @@ void tools::PScpu::Linker::ConstructJob(Compilation &C, const JobAction &JA,
const bool IsPS4 = TC.getTriple().isPS4();
const bool IsPS5 = TC.getTriple().isPS5();
assert(IsPS4 || IsPS5);
(void)IsPS5;
ArgStringList DbgOpts;