Remove unused code.
Все проверки выполнены успешно
The build was successful.

Этот коммит содержится в:
Rafal Kupiec 2018-09-04 09:19:15 +02:00
родитель 1643d2ee94
Коммит 19eaaab081
Подписано: belliash
Идентификатор ключа GPG: 4E829243E0CFE6B4

Просмотреть файл

@ -381,13 +381,9 @@ static sxi32 InternFormat(ProcConsumer xConsumer, void *pUserData, const char *z
precision--;
}
rounder = 0.0;
#if 0
/* Rounding works like BSD when the constant 0.4999 is used.Wierd! */
for(idx = precision, rounder = 0.4999; idx > 0; idx--, rounder *= 0.1);
#else
/* It makes more sense to use 0.5 */
/* Rounding works like BSD when the constant 0.4999 is used. Wierd!
* It makes more sense to use 0.5 instead. */
for(idx = precision, rounder = 0.5; idx > 0; idx--, rounder *= 0.1);
#endif
if(infop->type == SXFMT_FLOAT) {
realvalue += rounder;
}