From 903f875d1d86e448a4a95e85d2c0ac1ee82911a2 Mon Sep 17 00:00:00 2001 From: Phenom Date: Sat, 15 Jul 2017 18:17:00 +0200 Subject: [PATCH] Fix clang warning: unused variable 'MAX_SERIALIZED_ARRAY_SIZE' /libretroshare/src/serialiser/rstypeserializer.cc:39: warning: unused variable 'MAX_SERIALIZED_ARRAY_SIZE' [-Wunused-const-variable] static const uint32_t MAX_SERIALIZED_ARRAY_SIZE = 500 ; --- libretroshare/src/serialiser/rstypeserializer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libretroshare/src/serialiser/rstypeserializer.cc b/libretroshare/src/serialiser/rstypeserializer.cc index e0321186e..8be8660ae 100644 --- a/libretroshare/src/serialiser/rstypeserializer.cc +++ b/libretroshare/src/serialiser/rstypeserializer.cc @@ -36,7 +36,7 @@ #include -static const uint32_t MAX_SERIALIZED_ARRAY_SIZE = 500 ; +//static const uint32_t MAX_SERIALIZED_ARRAY_SIZE = 500 ; static const uint32_t MAX_SERIALIZED_CHUNK_SIZE = 10*1024*1024 ; // 10 MB. //=================================================================================================//