From 4cde870cad528ac38d69a8c9a87d989fd537697c Mon Sep 17 00:00:00 2001 From: mikee47 Date: Mon, 17 Jun 2024 21:26:04 +0100 Subject: [PATCH] Fix unused code warning --- tests/HostTests/modules/Stream.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/HostTests/modules/Stream.cpp b/tests/HostTests/modules/Stream.cpp index 9781e7f993..9821b8b79c 100644 --- a/tests/HostTests/modules/Stream.cpp +++ b/tests/HostTests/modules/Stream.cpp @@ -11,12 +11,14 @@ #include #endif +#ifndef DISABLE_NETWORK DEFINE_FSTR_LOCAL(template1, "Stream containing {var1}, {var2} and {var3}. {} {{}} {{12345") DEFINE_FSTR_LOCAL(template1_1, "Stream containing value #1, value #2 and {var3}. {} {{}} {{12345") DEFINE_FSTR_LOCAL(template1_2, "Stream containing value #1, value #2 and [value #3]. {} {{}} {{12345") DEFINE_FSTR_LOCAL(template2, "This text should {disable}not {var1} really {var2:hello} again {enable}be missing.") DEFINE_FSTR_LOCAL(template2_1, "This text should be missing.") +#endif class StreamTest : public TestGroup {