diff options
Diffstat (limited to 'src/nvim/indent.c')
-rw-r--r-- | src/nvim/indent.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/indent.c b/src/nvim/indent.c index bd91d1d4da..2777ebd18c 100644 --- a/src/nvim/indent.c +++ b/src/nvim/indent.c @@ -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; |