]> granicus.if.org Git - clang/commitdiff
remove a dead assignment. The variables are set just right after. Found by scan-build...
authorSylvestre Ledru <sylvestre@debian.org>
Sun, 6 Oct 2013 09:54:18 +0000 (09:54 +0000)
committerSylvestre Ledru <sylvestre@debian.org>
Sun, 6 Oct 2013 09:54:18 +0000 (09:54 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@192061 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/TargetInfo.cpp

index 115593a656c0eb82303ad2507530f710fe570d36..9ad17a454efc94df808d1d056f3bc172f8cd3b0d 100644 (file)
@@ -1695,7 +1695,7 @@ void X86_64ABIInfo::classify(QualType Ty, uint64_t OffsetBase,
 
         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;