diff options
Diffstat (limited to 'src/change.c')
-rw-r--r-- | src/change.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/change.c b/src/change.c index 25a0841909..771f7675b6 100644 --- a/src/change.c +++ b/src/change.c @@ -155,9 +155,8 @@ static long next_listener_id = 0; /* * Check if the change at "lnum" is above or overlaps with an existing * change. If above then flush changes and invoke listeners. - * Returns TRUE if the change was merged. */ - static int + static void check_recorded_changes( buf_T *buf, linenr_T lnum, @@ -185,7 +184,6 @@ check_recorded_changes( } } } - return FALSE; } /* @@ -206,8 +204,7 @@ may_record_change( // If the new change is going to change the line numbers in already listed // changes, then flush. - if (check_recorded_changes(curbuf, lnum, lnume, xtra)) - return; + check_recorded_changes(curbuf, lnum, lnume, xtra); if (curbuf->b_recorded_changes == NULL) { |