aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-10-07 19:48:27 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-10-08 16:27:32 +0300
commit741aa78d9df685dc7755e7d3cd679ca7a24b8014 (patch)
treef7581e5b0e4a2cda7c72e43d763ba39b89153f7a /tests
parent003019be92135f489dedcb9e374102c6c1ea1bea (diff)
Fix 'unused variable' warning issued by Clang on Windows
Diffstat (limited to 'tests')
-rw-r--r--tests/cpfile/driver.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/cpfile/driver.cxx b/tests/cpfile/driver.cxx
index e2ecc04..4283991 100644
--- a/tests/cpfile/driver.cxx
+++ b/tests/cpfile/driver.cxx
@@ -31,7 +31,10 @@ using namespace butl;
static const char text1[] = "ABCDEF\nXYZ";
static const char text2[] = "12345\nDEF";
+
+#ifndef _WIN32
static const char text3[] = "XAB\r\n9";
+#endif
static string
from_file (const path& f)