aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Pulford <mark@kyne.com.au>2011-12-31 16:49:54 +1030
committerMark Pulford <mark@kyne.com.au>2011-12-31 16:49:54 +1030
commit0a63a3fce3b7f3b58497e43c6c932d4888b51f1d (patch)
treea8a71d423e8b6ab89432652ffdfd16917c17d518
parent5f95673ab4ea2a45d906a999ca03a5af50184473 (diff)
downloadlua-cjson-0a63a3fce3b7f3b58497e43c6c932d4888b51f1d.tar.gz
lua-cjson-0a63a3fce3b7f3b58497e43c6c932d4888b51f1d.tar.bz2
lua-cjson-0a63a3fce3b7f3b58497e43c6c932d4888b51f1d.zip
Fix minor warning from Clang analyzer
-rw-r--r--fpconv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fpconv.c b/fpconv.c
index 3ff79dc..fd4deb0 100644
--- a/fpconv.c
+++ b/fpconv.c
@@ -122,7 +122,7 @@ static void set_number_format(char *fmt, int precision)
122 } 122 }
123 fmt[i++] = '0' + d2; 123 fmt[i++] = '0' + d2;
124 fmt[i++] = 'g'; 124 fmt[i++] = 'g';
125 fmt[i++] = 0; 125 fmt[i] = 0;
126} 126}
127 127
128/* Assumes there is always at least 32 characters available in the target buffer */ 128/* Assumes there is always at least 32 characters available in the target buffer */