diff options
author | Timur Iskhodzhanov <timurrrr@google.com> | 2014-03-24 11:09:01 +0000 |
---|---|---|
committer | Timur Iskhodzhanov <timurrrr@google.com> | 2014-03-24 11:09:01 +0000 |
commit | f7af2e6de853ff7515974f6def4cedac4c9ebbe6 (patch) | |
tree | 613ea255cbb15139ed852cde2cc33a6515dee246 /clang/lib/CodeGen | |
parent | 3a077ebf007227dd1dfceaad8cf2cf39cd701065 (diff) | |
download | bcm5719-llvm-f7af2e6de853ff7515974f6def4cedac4c9ebbe6.tar.gz bcm5719-llvm-f7af2e6de853ff7515974f6def4cedac4c9ebbe6.zip |
Fix a compile-time warning
lib/CodeGen/CGBuiltin.cpp:3136:12: warning: variable ‘TblPos’ set but not used [-Wunused-but-set-variable]
llvm-svn: 204599
Diffstat (limited to 'clang/lib/CodeGen')
-rw-r--r-- | clang/lib/CodeGen/CGBuiltin.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/clang/lib/CodeGen/CGBuiltin.cpp b/clang/lib/CodeGen/CGBuiltin.cpp index 7a466428477..fc93b7719f6 100644 --- a/clang/lib/CodeGen/CGBuiltin.cpp +++ b/clang/lib/CodeGen/CGBuiltin.cpp @@ -3133,7 +3133,6 @@ static Value *EmitAArch64TblBuiltinExpr(CodeGenFunction &CGF, unsigned int Int = 0; const char *s = NULL; - unsigned TblPos; switch (BuiltinID) { default: return 0; @@ -3149,8 +3148,6 @@ static Value *EmitAArch64TblBuiltinExpr(CodeGenFunction &CGF, case NEON::BI__builtin_neon_vtbl4_v: case NEON::BI__builtin_neon_vqtbl4_v: case NEON::BI__builtin_neon_vqtbl4q_v: - TblPos = 0; - break; case NEON::BI__builtin_neon_vtbx1_v: case NEON::BI__builtin_neon_vqtbx1_v: case NEON::BI__builtin_neon_vqtbx1q_v: @@ -3163,7 +3160,6 @@ static Value *EmitAArch64TblBuiltinExpr(CodeGenFunction &CGF, case NEON::BI__builtin_neon_vtbx4_v: case NEON::BI__builtin_neon_vqtbx4_v: case NEON::BI__builtin_neon_vqtbx4q_v: - TblPos = 1; break; } |