]> granicus.if.org Git - clang/commit
Fix compilation warning introduced in r327654
authorMikael Holmen <mikael.holmen@ericsson.com>
Fri, 16 Mar 2018 07:27:57 +0000 (07:27 +0000)
committerMikael Holmen <mikael.holmen@ericsson.com>
Fri, 16 Mar 2018 07:27:57 +0000 (07:27 +0000)
commit290cc27fe21bfce479d30a3194a20045b90afb0e
tree096959417b8d71dc5d4becb12d8ea3517fe83ef6
parentf1d1f4c4591e81cfa80034df094b26d7eb4fa92b
Fix compilation warning introduced in r327654

The compiler complained about

../tools/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp:184:15: error: unused variable 'CSI' [-Werror,-Wunused-variable]
    if (auto *CSI = CGF.CapturedStmtInfo) {
              ^
1 error generated.

I don't know this code but it seems like an easy fix so I push it anyway
to get rid of the warning.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@327694 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp