summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/string.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/string.c b/src/string.c
index d4dc517cf..c2284d552 100644
--- a/src/string.c
+++ b/src/string.c
@@ -2835,8 +2835,8 @@ mrb_float_read(const char *string, char **endPtr)
int sign, expSign = FALSE;
double fraction, dblExp;
const double *d;
- register const char *p;
- register int c;
+ const char *p;
+ int c;
int exp = 0; /* Exponent read from "EX" field. */
int fracExp = 0; /* Exponent that derives from the fractional
* part. Under normal circumstatnces, it is