diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2023-06-12 08:36:22 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2023-06-12 08:36:22 +0200 |
commit | d58bb311ba5b981132f7b666a8ec0ecfeec6fd75 (patch) | |
tree | e266030a82bd7b7a5e48b2a90e716bef92f5856e | |
parent | bb5b2ed9b340192e75ca473a8e3e302b112f0ba1 (diff) |
Fix unused static variable warning in Clang 16
-rw-r--r-- | tests/fdstream/driver.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
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) |