commit | 9a6002a09bd0f920ee370360dfe231eba256b37a | [log] [tgz] |
---|---|---|
author | Sylvestre Ledru <sylvestre@debian.org> | Sun Oct 06 09:54:18 2013 +0000 |
committer | Sylvestre Ledru <sylvestre@debian.org> | Sun Oct 06 09:54:18 2013 +0000 |
tree | 0a19829d37731ef2f13398caa22c4215cbaa5028 | |
parent | 2363072da26da25009bf61c3d9d056a028d4d720 [diff] [blame] |
remove a dead assignment. The variables are set just right after. Found by scan-build http://buildd-clang.debian.net/scan-build/ git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@192061 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/TargetInfo.cpp b/lib/CodeGen/TargetInfo.cpp index 115593a..9ad17a4 100644 --- a/lib/CodeGen/TargetInfo.cpp +++ b/lib/CodeGen/TargetInfo.cpp
@@ -1695,7 +1695,7 @@ uint64_t EB_Lo = Offset / 64; uint64_t EB_Hi = (Offset + Size - 1) / 64; - FieldLo = FieldHi = NoClass; + if (EB_Lo) { assert(EB_Hi == EB_Lo && "Invalid classification, type > 16 bytes."); FieldLo = NoClass;