diff --git a/lib/CWriter/Writer.cpp b/lib/CWriter/Writer.cpp index 7f2b14d3277..a6220751415 100644 --- a/lib/CWriter/Writer.cpp +++ b/lib/CWriter/Writer.cpp @@ -182,9 +182,7 @@ std::ostream &CWriter::printType(std::ostream &Out, const Type *Ty, // Check to see if the type is named. if (!IgnoreName || isa(Ty)) { std::map::iterator I = TypeNames.find(Ty); - if (I != TypeNames.end()) { - return Out << I->second << " " << NameSoFar; - } + if (I != TypeNames.end()) return Out << I->second << " " << NameSoFar; } switch (Ty->getPrimitiveID()) {