aboutsummaryrefslogtreecommitdiff
path: root/test/functional/lua/runtime_spec.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-06-03 05:35:02 +0800
committerGitHub <noreply@github.com>2024-06-03 05:35:02 +0800
commit0c9f7f5f96d6fedd2c5d9ec235c8b341f47c06f8 (patch)
tree90df05cf073db934ad0e86fe469d199fd9e1fe1c /test/functional/lua/runtime_spec.lua
parent659d3dcd2edf1b178a20015cab399390ffda1a32 (diff)
downloadrneovim-0c9f7f5f96d6fedd2c5d9ec235c8b341f47c06f8.tar.gz
rneovim-0c9f7f5f96d6fedd2c5d9ec235c8b341f47c06f8.tar.bz2
rneovim-0c9f7f5f96d6fedd2c5d9ec235c8b341f47c06f8.zip
vim-patch:9.1.0458: Coverity complains about division by zero (#29149)
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. https://github.com/vim/vim/commit/7737ce519b9cba8ef135154d76b69f715b1a0b4d Co-authored-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'test/functional/lua/runtime_spec.lua')
0 files changed, 0 insertions, 0 deletions