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

Unified Diff: base/third_party/dmg_fp/g_fmt.cc

Issue 2786273002: Revert of Enable -Wdeprecated-register (except on CrOS). (Closed)
Patch Set: Created 3 years, 9 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/README.chromium ('k') | build/config/compiler/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/third_party/dmg_fp/g_fmt.cc
diff --git a/base/third_party/dmg_fp/g_fmt.cc b/base/third_party/dmg_fp/g_fmt.cc
index 67c9f5736efa8bc186bc79971e6a46b8a709edde..bfa358d154c7d5cb2bead52329fc22af38687280 100644
--- a/base/third_party/dmg_fp/g_fmt.cc
+++ b/base/third_party/dmg_fp/g_fmt.cc
@@ -27,10 +27,10 @@
namespace dmg_fp {
char *
-g_fmt(char *b, double x)
+g_fmt(register char *b, double x)
{
- int i, k;
- char *s;
+ register int i, k;
+ register char *s;
int decpt, j, sign;
char *b0, *s0, *se;
« no previous file with comments | « base/third_party/dmg_fp/README.chromium ('k') | build/config/compiler/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698