diff options
Diffstat (limited to 'editors')
-rw-r--r-- | editors/sed.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/editors/sed.c b/editors/sed.c index 877d1c420..ac3d8d463 100644 --- a/editors/sed.c +++ b/editors/sed.c | |||
@@ -796,15 +796,15 @@ static void process_files(void) | |||
796 | char *pattern_space, *next_line; | 796 | char *pattern_space, *next_line; |
797 | int linenum = 0, prev_last_char = 0; | 797 | int linenum = 0, prev_last_char = 0; |
798 | int last_char, next_last_char = 0; | 798 | int last_char, next_last_char = 0; |
799 | sed_cmd_t *sed_cmd; | ||
800 | int substituted; | ||
799 | 801 | ||
800 | /* Prime the pump */ | 802 | /* Prime the pump */ |
801 | next_line = get_next_line(&next_last_char); | 803 | next_line = get_next_line(&next_last_char); |
802 | 804 | ||
803 | /* go through every line in each file */ | 805 | /* go through every line in each file */ |
804 | again: | 806 | again: |
805 | 807 | substituted = 0; | |
806 | sed_cmd_t *sed_cmd; | ||
807 | int substituted = 0; | ||
808 | 808 | ||
809 | /* Advance to next line. Stop if out of lines. */ | 809 | /* Advance to next line. Stop if out of lines. */ |
810 | pattern_space = next_line; | 810 | pattern_space = next_line; |