From 741aa78d9df685dc7755e7d3cd679ca7a24b8014 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 7 Oct 2019 19:48:27 +0300 Subject: Fix 'unused variable' warning issued by Clang on Windows --- tests/cpfile/driver.cxx | 3 +++ 1 file changed, 3 insertions(+) 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) -- cgit v1.1