diff options
author | Christian Brabandt <cb@256bit.org> | 2024-06-02 16:04:43 +0200 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2024-06-02 16:04:43 +0200 |
commit | 7737ce519b9cba8ef135154d76b69f715b1a0b4d (patch) | |
tree | a522ee0bc8d9add75f8fb7dc8d9d753c90eaf9db /src/scriptfile.c | |
parent | e5bc2e4bc9e7456daef480dd422252dbf444c58c (diff) |
patch 9.1.0458: Coverity complains about division by zerov9.1.0458
Problem: Coverity complains about division by zero
Solution: Check explicitly for sw_val being zero
Shouldn't happen, since tabstop value should always be larger than zero.
So just add this as a safety measure.
Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'src/scriptfile.c')
0 files changed, 0 insertions, 0 deletions