Mercurial > vim
view ci/if_ver-1.vim @ 26209:2dd449b9c1c7 v8.2.3636
patch 8.2.3636: Coverity warns for unreachable code
Commit: https://github.com/vim/vim/commit/2c23670300b18f2f799d0602ff5225caa55b0d67
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Nov 21 11:15:49 2021 +0000
patch 8.2.3636: Coverity warns for unreachable code
Problem: Coverity warns for unreachable code.
Solution: Remove unreachable else block.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 21 Nov 2021 12:30:04 +0100 |
parents | 0878f0fd349b |
children |
line wrap: on
line source
" Print all interface versions for Ubuntu. Part 1. if 1 execute 'source' expand('<sfile>:h') .. '/if_ver-cmd.vim' echo "*** Interface versions ***\n" echo 'Lua:' PrintVer lua print(vim.lua_version, jit and "(LuaJIT)" or "") echo 'MzScheme:' PrintVer mzscheme (display (version)) echo 'Perl:' PrintVer perl print $^V echo 'Ruby:' PrintVer ruby print RUBY_VERSION echo 'Tcl:' PrintVer tcl puts [info patchlevel] echo 'Python 2:' PrintVer python print sys.version endif