Remove redundant casts

This commit is contained in:
Anton Ovchinnikov
2015-03-09 00:40:50 +01:00
parent c0a668aa26
commit 9925b3a047
26 changed files with 98 additions and 98 deletions

View File

@@ -1103,7 +1103,7 @@ static int win_nolbr_chartabsize(win_T *wp, char_u *s, colnr_T col, int *headp)
if ((*s == TAB) && (!wp->w_p_list || lcs_tab1)) {
n = wp->w_buffer->b_p_ts;
return (int)(n - (col % n));
return n - (col % n);
}
n = ptr2cells(s);