mirror of
https://github.com/neovim/neovim.git
synced 2025-10-17 15:21:47 +00:00
fix: clang warnings (#21247)
This commit is contained in:
@@ -199,6 +199,7 @@ void tabstop_fromto(colnr_T start_col, colnr_T end_col, long ts_arg, const long
|
||||
long padding = 0;
|
||||
int t;
|
||||
long ts = ts_arg == 0 ? curbuf->b_p_ts : ts_arg;
|
||||
assert(ts != 0); // suppress clang "Division by zero"
|
||||
|
||||
if (vts == NULL || vts[0] == 0) {
|
||||
int tabs = 0;
|
||||
|
Reference in New Issue
Block a user