Mercurial > emacs
diff src/lread.c @ 21761:7c159e118cd4
(Fread_from_string): Initialize startval and endval.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 25 Apr 1998 22:00:26 +0000 |
parents | 53f1e474e639 |
children | 0b8510aab527 |
line wrap: on
line diff
--- a/src/lread.c Sat Apr 25 03:37:36 1998 +0000 +++ b/src/lread.c Sat Apr 25 22:00:26 1998 +0000 @@ -1175,6 +1175,7 @@ else { CHECK_NUMBER (end, 2); + endval = XINT (end); if (endval < 0 || endval > XSTRING (string)->size) args_out_of_range (string, end); } @@ -1184,6 +1185,7 @@ else { CHECK_NUMBER (start, 1); + startval = XINT (start); if (startval < 0 || startval > endval) args_out_of_range (string, start); }