summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lldb/source/Interpreter/Args.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lldb/source/Interpreter/Args.cpp b/lldb/source/Interpreter/Args.cpp
index e12e99095dc..95f7ea52066 100644
--- a/lldb/source/Interpreter/Args.cpp
+++ b/lldb/source/Interpreter/Args.cpp
@@ -226,8 +226,7 @@ Args::ParseSingleArgument(llvm::StringRef command)
// If the character after the backslash is not a whitelisted escapable character, we
// leave the character sequence untouched.
- static const char *k_escapable_characters = " \t\\'\"`";
- if (strchr(k_escapable_characters, command.front()) == nullptr)
+ if (strchr(" \t\\'\"`", command.front()) == nullptr)
arg += '\\';
arg += command.front();
OpenPOWER on IntegriCloud