Prevent a wanring about checkdp being unused. It's not needed when we
have INT64 floats and somehow snuck through unused until now. Reviewed by: kevans@
This commit is contained in:
parent
9d45c24cc4
commit
07d397d746
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=337807
@ -928,6 +928,7 @@ static void addquoted (luaL_Buffer *b, const char *s, size_t len) {
|
||||
}
|
||||
|
||||
|
||||
#if LUA_FLOAT_TYPE != LUA_FLOAT_INT64
|
||||
/*
|
||||
** Ensures the 'buff' string uses a dot as the radix character.
|
||||
*/
|
||||
@ -938,7 +939,7 @@ static void checkdp (char *buff, int nb) {
|
||||
if (ppoint) *ppoint = '.'; /* change it to a dot */
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
static void addliteral (lua_State *L, luaL_Buffer *b, int arg) {
|
||||
switch (lua_type(L, arg)) {
|
||||
|
Loading…
Reference in New Issue
Block a user