summaryrefslogtreecommitdiff
path: root/indra/llmessage/llnamevalue.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llmessage/llnamevalue.cpp')
-rw-r--r--indra/llmessage/llnamevalue.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/llmessage/llnamevalue.cpp b/indra/llmessage/llnamevalue.cpp
index c51883ee3d..15de4046ac 100644
--- a/indra/llmessage/llnamevalue.cpp
+++ b/indra/llmessage/llnamevalue.cpp
@@ -35,6 +35,10 @@
#include "llstring.h"
#include "llstringtable.h"
+#if LL_LINUX
+#pragma GCC diagnostic ignored "-Wstringop-truncation" // It's actually okay what happens here
+#endif
+
// Anonymous enumeration to provide constants in this file.
// *NOTE: These values may be used in sscanf statements below as their
// value-1, so search for '2047' if you cange NV_BUFFER_LEN or '63' if