Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1145)

Unified Diff: base/third_party/dmg_fp/mac_wextra.patch

Issue 1647803004: Move base to DEPS (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/third_party/dmg_fp/gcc_warnings.patch ('k') | base/third_party/dmg_fp/msvc_warnings.patch » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/third_party/dmg_fp/mac_wextra.patch
diff --git a/base/third_party/dmg_fp/mac_wextra.patch b/base/third_party/dmg_fp/mac_wextra.patch
deleted file mode 100644
index 15340f2e7c066ac2b3742f761eecefd74c5a54a2..0000000000000000000000000000000000000000
--- a/base/third_party/dmg_fp/mac_wextra.patch
+++ /dev/null
@@ -1,53 +0,0 @@
-Index: g_fmt.cc
-===================================================================
---- g_fmt.cc (revision 49784)
-+++ g_fmt.cc (working copy)
-@@ -46,7 +46,7 @@
- if (sign)
- *b++ = '-';
- if (decpt == 9999) /* Infinity or Nan */ {
-- while((*b++ = *s++));
-+ while((*b++ = *s++)) {}
- goto done0;
- }
- if (decpt <= -4 || decpt > se - s + 5) {
-@@ -64,7 +64,7 @@
- }
- else
- *b++ = '+';
-- for(j = 2, k = 10; 10*k <= decpt; j++, k *= 10);
-+ for(j = 2, k = 10; 10*k <= decpt; j++, k *= 10) {}
- for(;;) {
- i = decpt / k;
- *b++ = i + '0';
-@@ -79,7 +79,7 @@
- *b++ = '.';
- for(; decpt < 0; decpt++)
- *b++ = '0';
-- while((*b++ = *s++));
-+ while((*b++ = *s++)) {}
- }
- else {
- while((*b = *s++)) {
-Index: dtoa.cc
-===================================================================
---- dtoa.cc (revision 49784)
-+++ dtoa.cc (working copy)
-@@ -3863,7 +3863,7 @@
- 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 @@
- #ifdef Honor_FLT_ROUNDS
- trimzeros:
- #endif
-- while(*--s == '0');
-+ while(*--s == '0') {}
- s++;
- }
- ret:
« no previous file with comments | « base/third_party/dmg_fp/gcc_warnings.patch ('k') | base/third_party/dmg_fp/msvc_warnings.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698