diff options
author | Mark Pulford <mark@kyne.com.au> | 2011-12-31 16:49:54 +1030 |
---|---|---|
committer | Mark Pulford <mark@kyne.com.au> | 2011-12-31 16:49:54 +1030 |
commit | 0a63a3fce3b7f3b58497e43c6c932d4888b51f1d (patch) | |
tree | a8a71d423e8b6ab89432652ffdfd16917c17d518 | |
parent | 5f95673ab4ea2a45d906a999ca03a5af50184473 (diff) | |
download | lua-cjson-0a63a3fce3b7f3b58497e43c6c932d4888b51f1d.tar.gz lua-cjson-0a63a3fce3b7f3b58497e43c6c932d4888b51f1d.tar.bz2 lua-cjson-0a63a3fce3b7f3b58497e43c6c932d4888b51f1d.zip |
Fix minor warning from Clang analyzer
-rw-r--r-- | fpconv.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 */ |