diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/textprop.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/textprop.c b/src/textprop.c index 871bd8875a7..06ae670c47f 100644 --- a/src/textprop.c +++ b/src/textprop.c | |||
| @@ -610,7 +610,7 @@ Return t if any property value actually changed, nil otherwise.") | |||
| 610 | Lisp_Object start, end, properties, object; | 610 | Lisp_Object start, end, properties, object; |
| 611 | { | 611 | { |
| 612 | register INTERVAL i, unchanged; | 612 | register INTERVAL i, unchanged; |
| 613 | register int s, len, modified; | 613 | register int s, len, modified = 0; |
| 614 | 614 | ||
| 615 | properties = validate_plist (properties); | 615 | properties = validate_plist (properties); |
| 616 | if (NILP (properties)) | 616 | if (NILP (properties)) |
| @@ -660,7 +660,7 @@ Return t if any property value actually changed, nil otherwise.") | |||
| 660 | } | 660 | } |
| 661 | 661 | ||
| 662 | /* We are at the beginning of an interval, with len to scan */ | 662 | /* We are at the beginning of an interval, with len to scan */ |
| 663 | while (len > 0) | 663 | for (;;) |
| 664 | { | 664 | { |
| 665 | if (i == 0) | 665 | if (i == 0) |
| 666 | abort (); | 666 | abort (); |
| @@ -800,7 +800,7 @@ Return t if any property was actually removed, nil otherwise.") | |||
| 800 | Lisp_Object start, end, props, object; | 800 | Lisp_Object start, end, props, object; |
| 801 | { | 801 | { |
| 802 | register INTERVAL i, unchanged; | 802 | register INTERVAL i, unchanged; |
| 803 | register int s, len, modified; | 803 | register int s, len, modified = 0; |
| 804 | 804 | ||
| 805 | if (NILP (object)) | 805 | if (NILP (object)) |
| 806 | XSET (object, Lisp_Buffer, current_buffer); | 806 | XSET (object, Lisp_Buffer, current_buffer); |
| @@ -846,7 +846,7 @@ Return t if any property was actually removed, nil otherwise.") | |||
| 846 | } | 846 | } |
| 847 | 847 | ||
| 848 | /* We are at the beginning of an interval, with len to scan */ | 848 | /* We are at the beginning of an interval, with len to scan */ |
| 849 | while (len > 0) | 849 | for (;;) |
| 850 | { | 850 | { |
| 851 | if (i == 0) | 851 | if (i == 0) |
| 852 | abort (); | 852 | abort (); |