Remove duplicate code that we could just fallthrough to.
authorEric Christopher <echristo@apple.com>
Fri, 18 May 2012 18:24:15 +0000 (18:24 +0000)
committerEric Christopher <echristo@apple.com>
Fri, 18 May 2012 18:24:15 +0000 (18:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157060 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/AsmPrinter/DwarfDebug.cpp

index 497840e57f9b60f3e2331b6b101643ebb59c86d6..fe49730bccd2e6677b47f5c80659213322efd196 100644 (file)
@@ -117,7 +117,6 @@ DIType DbgVariable::getType() const {
       if (getName() == DT.getName())
         return (DT.getTypeDerivedFrom());
     }
-    return Ty;
   }
   return Ty;
 }