Remove unused code.
The build was successful. Details

This commit is contained in:
Rafal Kupiec 2018-09-04 09:18:13 +02:00
parent 03e452ea7b
commit 1643d2ee94
Signed by: belliash
GPG Key ID: 4E829243E0CFE6B4
1 changed files with 2 additions and 6 deletions

View File

@ -3658,13 +3658,9 @@ PH7_PRIVATE sxi32 PH7_InputFormat(
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(pInfo->type == PH7_FMT_FLOAT) {
realvalue += rounder;
}