diff options
author | Chris Lattner <sabre@nondot.org> | 2009-12-14 19:34:32 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-12-14 19:34:32 +0000 |
commit | 726e452ccb2c3faadcd037511a65de4e005474a8 (patch) | |
tree | da053bc94c737e17ee66e6fb0591a7cd54c2f59f /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
parent | fd5de58ec13b2de5f278195376a947eb06547a54 (diff) | |
download | llvm-726e452ccb2c3faadcd037511a65de4e005474a8.zip llvm-726e452ccb2c3faadcd037511a65de4e005474a8.tar.gz llvm-726e452ccb2c3faadcd037511a65de4e005474a8.tar.bz2 |
fix an obvious bug found by clang++ and collapse a redundant if.
Here's the diagnostic from clang:
/Volumes/Data/dgregor/Projects/llvm/lib/Target/CppBackend/CPPBackend.cpp:989:23: warning: 'gv' is always NULL in this context
printConstant(gv);
^
1 diagnostic generated.
llvm-svn: 91318
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions