From 34a408639fbdb41add1a86af689c73fb4e9947a8 Mon Sep 17 00:00:00 2001 From: Nick Lewycky Date: Sun, 15 Mar 2009 06:39:52 +0000 Subject: [PATCH] Remove obviously redundant call. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67023 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/VMCore/AsmWriter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.34.1