diff options
Diffstat (limited to 'editors')
-rw-r--r-- | editors/vi.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/editors/vi.c b/editors/vi.c index 6898e61a4..a66f20d39 100644 --- a/editors/vi.c +++ b/editors/vi.c | |||
@@ -734,7 +734,7 @@ static void colon(Byte * buf) | |||
734 | free(cfn); // free the old name | 734 | free(cfn); // free the old name |
735 | cfn = q; // remember new cfn | 735 | cfn = q; // remember new cfn |
736 | 736 | ||
737 | vc5: | 737 | vc5: |
738 | // delete all the contents of text[] | 738 | // delete all the contents of text[] |
739 | new_text(2 * file_size(fn)); | 739 | new_text(2 * file_size(fn)); |
740 | screenbegin = dot = end = text; | 740 | screenbegin = dot = end = text; |
@@ -1919,7 +1919,6 @@ static void end_cmd_q(void) | |||
1919 | YDreg = 26; // go back to default Yank/Delete reg | 1919 | YDreg = 26; // go back to default Yank/Delete reg |
1920 | #endif | 1920 | #endif |
1921 | adding2q = 0; | 1921 | adding2q = 0; |
1922 | return; | ||
1923 | } | 1922 | } |
1924 | #endif /* FEATURE_VI_DOT_CMD */ | 1923 | #endif /* FEATURE_VI_DOT_CMD */ |
1925 | 1924 | ||
@@ -1994,7 +1993,6 @@ static void check_context(Byte cmd) | |||
1994 | //loiter= start_loiter= now; | 1993 | //loiter= start_loiter= now; |
1995 | } | 1994 | } |
1996 | } | 1995 | } |
1997 | return; | ||
1998 | } | 1996 | } |
1999 | 1997 | ||
2000 | static inline Byte *swap_context(Byte * p) // goto new context for '' command make this the current context | 1998 | static inline Byte *swap_context(Byte * p) // goto new context for '' command make this the current context |
@@ -2591,8 +2589,6 @@ static void psbs(const char *format, ...) | |||
2591 | va_end(args); | 2589 | va_end(args); |
2592 | 2590 | ||
2593 | have_status_msg = 1 + sizeof(SOs) + sizeof(SOn) - 2; | 2591 | have_status_msg = 1 + sizeof(SOs) + sizeof(SOn) - 2; |
2594 | |||
2595 | return; | ||
2596 | } | 2592 | } |
2597 | 2593 | ||
2598 | // format status buffer | 2594 | // format status buffer |
@@ -2605,8 +2601,6 @@ static void psb(const char *format, ...) | |||
2605 | va_end(args); | 2601 | va_end(args); |
2606 | 2602 | ||
2607 | have_status_msg = 1; | 2603 | have_status_msg = 1; |
2608 | |||
2609 | return; | ||
2610 | } | 2604 | } |
2611 | 2605 | ||
2612 | static void ni(Byte * s) // display messages | 2606 | static void ni(Byte * s) // display messages |
@@ -3929,6 +3923,5 @@ static void crash_test() | |||
3929 | totalcmds, M, N, I, D, Y, P, U, end - text + 1); | 3923 | totalcmds, M, N, I, D, Y, P, U, end - text + 1); |
3930 | oldtim = tim; | 3924 | oldtim = tim; |
3931 | } | 3925 | } |
3932 | return; | ||
3933 | } | 3926 | } |
3934 | #endif | 3927 | #endif |