diff options
Diffstat (limited to 'src/buffer.c')
| -rw-r--r-- | src/buffer.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/buffer.c b/src/buffer.c index 96ce4e702de..0642742fe1c 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -1079,16 +1079,13 @@ so the buffer is truly empty after this.") | |||
| 1079 | validate_region (b, e) | 1079 | validate_region (b, e) |
| 1080 | register Lisp_Object *b, *e; | 1080 | register Lisp_Object *b, *e; |
| 1081 | { | 1081 | { |
| 1082 | register int i; | ||
| 1083 | |||
| 1084 | CHECK_NUMBER_COERCE_MARKER (*b, 0); | 1082 | CHECK_NUMBER_COERCE_MARKER (*b, 0); |
| 1085 | CHECK_NUMBER_COERCE_MARKER (*e, 1); | 1083 | CHECK_NUMBER_COERCE_MARKER (*e, 1); |
| 1086 | 1084 | ||
| 1087 | if (XINT (*b) > XINT (*e)) | 1085 | if (XINT (*b) > XINT (*e)) |
| 1088 | { | 1086 | { |
| 1089 | i = XFASTINT (*b); /* This is legit even if *b is < 0 */ | 1087 | Lisp_Object tem; |
| 1090 | *b = *e; | 1088 | tem = *b; *b = *e; *e = tem; |
| 1091 | XSETFASTINT (*e, i); /* because this is all we do with i. */ | ||
| 1092 | } | 1089 | } |
| 1093 | 1090 | ||
| 1094 | if (!(BEGV <= XINT (*b) && XINT (*b) <= XINT (*e) | 1091 | if (!(BEGV <= XINT (*b) && XINT (*b) <= XINT (*e) |