aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llxml/llxmlnode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/llxml/llxmlnode.cpp')
-rw-r--r--linden/indra/llxml/llxmlnode.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/linden/indra/llxml/llxmlnode.cpp b/linden/indra/llxml/llxmlnode.cpp
index 50a08be..eb48b41 100644
--- a/linden/indra/llxml/llxmlnode.cpp
+++ b/linden/indra/llxml/llxmlnode.cpp
@@ -5,6 +5,7 @@
5 * 5 *
6 * Copyright (c) 2005-2007, Linden Research, Inc. 6 * Copyright (c) 2005-2007, Linden Research, Inc.
7 * 7 *
8 * Second Life Viewer Source Code
8 * The source code in this file ("Source Code") is provided by Linden Lab 9 * The source code in this file ("Source Code") is provided by Linden Lab
9 * to you under the terms of the GNU General Public License, version 2.0 10 * to you under the terms of the GNU General Public License, version 2.0
10 * ("GPL"), unless you have obtained a separate licensing agreement 11 * ("GPL"), unless you have obtained a separate licensing agreement
@@ -2162,7 +2163,7 @@ void LLXMLNode::setFloatValue(U32 length, const F32 *array, Encoding encoding, U
2162 { 2163 {
2163 precision = 25; 2164 precision = 25;
2164 } 2165 }
2165 snprintf(format_string, sizeof(format_string), "%%.%dg", precision); /* Flawfinder: ignore */ 2166 snprintf(format_string, sizeof(format_string), "%%.%dg", precision); /* Flawfinder: ignore */
2166 } 2167 }
2167 else 2168 else
2168 { 2169 {
@@ -2213,7 +2214,7 @@ void LLXMLNode::setDoubleValue(U32 length, const F64 *array, Encoding encoding,
2213 { 2214 {
2214 precision = 25; 2215 precision = 25;
2215 } 2216 }
2216 snprintf(format_string, sizeof(format_string), "%%.%dg", precision); /* Flawfinder: ignore */ 2217 snprintf(format_string, sizeof(format_string), "%%.%dg", precision); /* Flawfinder: ignore */
2217 } 2218 }
2218 else 2219 else
2219 { 2220 {