summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
Diffstat (limited to 'win32')
-rw-r--r--win32/win32.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/win32/win32.c b/win32/win32.c
index c85b1b48e8..81eca672a9 100644
--- a/win32/win32.c
+++ b/win32/win32.c
@@ -1195,8 +1195,7 @@ make_cmdvector(const char *cmd, char ***vec)
//
len = ptr - base;
- if (quote) escape = 0;
- else if (done) --len;
+ if (done) --len;
//
// if it's an input vector element and it's enclosed by quotes,