summaryrefslogtreecommitdiffstats
path: root/base/third_party/dmg_fp/dtoa.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/third_party/dmg_fp/dtoa.cc')
-rw-r--r--base/third_party/dmg_fp/dtoa.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/base/third_party/dmg_fp/dtoa.cc b/base/third_party/dmg_fp/dtoa.cc
index c1bc476..3f7e794 100644
--- a/base/third_party/dmg_fp/dtoa.cc
+++ b/base/third_party/dmg_fp/dtoa.cc
@@ -3863,7 +3863,7 @@ dtoa
if (dval(&u) > 0.5 + dval(&eps))
goto bump_up;
else if (dval(&u) < 0.5 - dval(&eps)) {
- while(*--s == '0');
+ while(*--s == '0') {}
s++;
goto ret1;
}
@@ -4176,7 +4176,7 @@ dtoa
#ifdef Honor_FLT_ROUNDS
trimzeros:
#endif
- while(*--s == '0');
+ while(*--s == '0') {}
s++;
}
ret: