mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 8.2.3490: superfluous return statements
Problem: Superfluous return statements. Solution: Remove superfluous return statements from void functions. (closes #8977)
This commit is contained in:
committed by
Bram Moolenaar
parent
35a319b77f
commit
3826c0513b
@@ -3029,8 +3029,6 @@ buflist_setfpos(
|
||||
wip->wi_prev = NULL;
|
||||
if (wip->wi_next)
|
||||
wip->wi_next->wi_prev = wip;
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
#ifdef FEAT_DIFF
|
||||
|
@@ -243,7 +243,6 @@ add_buff(
|
||||
buf->bh_curr->b_next = p;
|
||||
buf->bh_curr = p;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
|
@@ -1786,7 +1786,6 @@ theend:
|
||||
apply_autocmds(EVENT_BUFREADPOST, NULL, curbuf->b_fname, FALSE, curbuf);
|
||||
apply_autocmds(EVENT_BUFWINENTER, NULL, curbuf->b_fname, FALSE, curbuf);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -3930,7 +3929,6 @@ ml_clearmarked(void)
|
||||
}
|
||||
|
||||
lowest_marked = 0;
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
|
@@ -2682,7 +2682,6 @@ get_scroll_overlap(lineoff_T *lp, int dir)
|
||||
*lp = loff1; // 1 line overlap
|
||||
else
|
||||
*lp = loff2; // 2 lines overlap
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
|
@@ -6391,8 +6391,6 @@ set_context_in_set_cmd(
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
int
|
||||
|
@@ -757,6 +757,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
3490,
|
||||
/**/
|
||||
3489,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user