From: Nick Lewycky Date: Sun, 15 Mar 2009 06:39:52 +0000 (+0000) Subject: Remove obviously redundant call. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=34a408639fbdb41add1a86af689c73fb4e9947a8;p=oota-llvm.git Remove obviously redundant call. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67023 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/VMCore/AsmWriter.cpp b/lib/VMCore/AsmWriter.cpp index c1cc7bacf08..b9ed8aff381 100644 --- a/lib/VMCore/AsmWriter.cpp +++ b/lib/VMCore/AsmWriter.cpp @@ -66,7 +66,7 @@ static void PrintEscapedString(const char *Str, unsigned Length, raw_ostream &Out) { for (unsigned i = 0; i != Length; ++i) { unsigned char C = Str[i]; - if (isprint(C) && C != '\\' && C != '"' && isprint(C)) + if (isprint(C) && C != '\\' && C != '"') Out << C; else Out << '\\' << hexdigit(C >> 4) << hexdigit(C & 0x0F);