summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/cmSystemTools.cxx16
1 files changed, 2 insertions, 14 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx
index c3540c0..084c483 100644
--- a/Source/cmSystemTools.cxx
+++ b/Source/cmSystemTools.cxx
@@ -324,20 +324,8 @@ bool cmSystemTools::RunSingleCommand(
++c;
while(*c && *c != '"')
{
- if(*c == '\\')
- {
- ++c;
- if(*c)
- {
- arg.append(1, *c);
- ++c;
- }
- }
- else
- {
- arg.append(1, *c);
- ++c;
- }
+ arg.append(1, *c);
+ ++c;
}
if(*c)
{