Mercurial > vim
view runtime/compiler/xmllint.vim @ 20195:a2447c58da25 v8.2.0653
patch 8.2.0653: using uninitialized pointer
Commit: https://github.com/vim/vim/commit/03afdcf1f449d23c9b6bc56d8b61f31dd4e11836
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Apr 27 23:39:30 2020 +0200
patch 8.2.0653: using uninitialized pointer
Problem: using uninitialized pointer.
Solution: Move assignment up. (John Marriott)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 27 Apr 2020 23:45:03 +0200 |
parents | f7add3891e95 |
children | d4c7b3e9cd17 |
line wrap: on
line source
" Vim compiler file " Compiler: xmllint " Maintainer: Doug Kearns <dougkearns@gmail.com> " Last Change: 2013 Jul 8 if exists("current_compiler") finish endif let current_compiler = "xmllint" if exists(":CompilerSet") != 2 " older Vim always used :setlocal command -nargs=* CompilerSet setlocal <args> endif let s:cpo_save = &cpo set cpo-=C CompilerSet makeprg=xmllint\ --valid\ --noout CompilerSet errorformat=%+E%f:%l:\ %.%#\ error\ :\ %m, \%+W%f:%l:\ %.%#\ warning\ :\ %m, \%-Z%p^, \%-G%.%# let &cpo = s:cpo_save unlet s:cpo_save