Mercurial > vim
view ci/if_ver-cmd.vim @ 32671:031c73248fa7 v9.0.1666
patch 9.0.1666: compiler may warn for uninitialized variable
Commit: https://github.com/vim/vim/commit/a2a90d5e202c3f8c5cbbf945b94833007b5711e7
Author: Christian Brabandt <cb@256bit.org>
Date: Mon Jun 26 18:48:09 2023 +0100
patch 9.0.1666: compiler may warn for uninitialized variable
Problem: Compiler may warn for uninitialized variable.
Solution: Initialize this_props_len. (Christian Brabandt, closes https://github.com/vim/vim/issues/12599)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 26 Jun 2023 20:00:03 +0200 |
parents | 27ff44268da5 |
children |
line wrap: on
line source
" Provide 'PrintVer' command to print the interface versions. func s:print_ver(lang, ...) if has(a:lang) exec a:lang join(a:000) else echo 'N/A' endif echo '' endfunc command -nargs=+ PrintVer call <SID>print_ver(<f-args>)