diff --git a/dlls/oleaut32/varformat.c b/dlls/oleaut32/varformat.c index 79c305314bc..d76ceb5e08e 100644 --- a/dlls/oleaut32/varformat.c +++ b/dlls/oleaut32/varformat.c @@ -1532,7 +1532,6 @@ VARIANT_FormatNumber_Bool: } } count = min(count_max, pad); - count_max -= count; pad -= count; TRACE("write %d whole trailing 0's\n", count); while (count--)