Mercurial > vim
view ci/if_ver-cmd.vim @ 30067:faf8de1c2f0d v9.0.0371
patch 9.0.0371: compiler warning for uninitialized variable
Commit: https://github.com/vim/vim/commit/06fef1b2bdc07c6170b178e34b4712c21bd81a2e
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Sep 3 21:53:28 2022 +0100
patch 9.0.0371: compiler warning for uninitialized variable
Problem: Compiler warning for uninitialized variable.
Solution: Initialize the variable. (John Marriott)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 03 Sep 2022 23: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>)