HomePhabricator

Fix compilation warning about unused variable [NFC]

Authored by uabelho on May 20 2019, 4:38 AM.

Description

Fix compilation warning about unused variable [NFC]

Without the fix at least clang 3.6 complains with

../tools/clang/lib/AST/ExprConstant.cpp:90:24: error: unused variable 'TI' [-Werror,-Wunused-variable]

if (TypeInfoLValue TI = B.dyn_cast<TypeInfoLValue>())
                   ^

1 error generated.

llvm-svn: 361145

Details

Committed
uabelhoMay 20 2019, 4:38 AM
Parents
rG7c7425483ae6: [ELF] Error on relocations to local undefined symbols
Branches
Unknown
Tags
Unknown