From d58bb311ba5b981132f7b666a8ec0ecfeec6fd75 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 12 Jun 2023 08:36:22 +0200 Subject: Fix unused static variable warning in Clang 16 --- tests/fdstream/driver.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests') diff --git a/tests/fdstream/driver.cxx b/tests/fdstream/driver.cxx index c07c7c0..ec0c54e 100644 --- a/tests/fdstream/driver.cxx +++ b/tests/fdstream/driver.cxx @@ -42,7 +42,9 @@ static const string text2 ("12"); // Keep shorter than text1. // Windows text mode write-translated form of text1. // +#ifdef _WIN32 static const string text3 ("ABCDEF\r\nXYZ"); +#endif static string from_stream (ifdstream& is) -- cgit v1.1