Skip to content

Commit 7a23920

Browse files
[clang] Fix an unused variable warning
This patch fixes: clang/lib/Driver/ToolChains/PS4CPU.cpp:159:14: error: unused variable 'IsPS5' [-Werror,-Wunused-variable]
1 parent 3ae4c35 commit 7a23920

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clang/lib/Driver/ToolChains/PS4CPU.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ void tools::PScpu::Linker::ConstructJob(Compilation &C, const JobAction &JA,
158158
const bool IsPS4 = TC.getTriple().isPS4();
159159
const bool IsPS5 = TC.getTriple().isPS5();
160160
assert(IsPS4 || IsPS5);
161+
(void)IsPS5;
161162

162163
ArgStringList DbgOpts;
163164

0 commit comments

Comments
 (0)