OSDN Git Service

Remove obviously redundant call.
authorNick Lewycky <nicholas@mxc.ca>
Sun, 15 Mar 2009 06:39:52 +0000 (06:39 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Sun, 15 Mar 2009 06:39:52 +0000 (06:39 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67023 91177308-0d34-0410-b5e6-96231b3b80d8

lib/VMCore/AsmWriter.cpp

index c1cc7ba..b9ed8af 100644 (file)
@@ -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);