diff options
author | Devang Patel <dpatel@apple.com> | 2008-11-21 20:00:59 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2008-11-21 20:00:59 +0000 |
commit | 59500c8f9a76b3386329b6f837255c16f4e8b61b (patch) | |
tree | 6bad7385b65142eb5806cdeafcc6ea5f121cab35 /lib/VMCore | |
parent | a5c05aad57556eee4cea43f33234312320a0a219 (diff) | |
download | external_llvm-59500c8f9a76b3386329b6f837255c16f4e8b61b.zip external_llvm-59500c8f9a76b3386329b6f837255c16f4e8b61b.tar.gz external_llvm-59500c8f9a76b3386329b6f837255c16f4e8b61b.tar.bz2 |
Silence unused variable warnings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59841 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore')
-rw-r--r-- | lib/VMCore/Instructions.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/VMCore/Instructions.cpp b/lib/VMCore/Instructions.cpp index 3e08b59..66caf5f 100644 --- a/lib/VMCore/Instructions.cpp +++ b/lib/VMCore/Instructions.cpp @@ -2204,6 +2204,7 @@ CastInst::getCastOpcode( if (const VectorType *SrcPTy = dyn_cast<VectorType>(SrcTy)) { assert(DestPTy->getBitWidth() == SrcPTy->getBitWidth() && "Casting vector to vector of different widths"); + SrcPTy = NULL; return BitCast; // vector -> vector } else if (DestPTy->getBitWidth() == SrcBits) { return BitCast; // float/int -> vector |