Mercurial > vim
view runtime/ftplugin/groovy.vim @ 27482:14640c6fe1fe v8.2.4269
patch 8.2.4269: Coverity warns for using a NULL pointer
Commit: https://github.com/vim/vim/commit/48a604845e33399893d6bf293e71bcd2a412800d
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jan 31 11:44:48 2022 +0000
patch 8.2.4269: Coverity warns for using a NULL pointer
Problem: Coverity warns for using a NULL pointer.
Solution: Check for "name" to not be NULL.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 31 Jan 2022 12:45:05 +0100 |
parents | bc38030aec7d |
children | 7c7432a53a6c |
line wrap: on
line source
" Vim filetype plugin file " Language: groovy " Maintainer: Justin M. Keyes <justinkz@gmail.com> " Last Change: 2016 May 22 if exists('b:did_ftplugin') finish endif let b:did_ftplugin = 1 let s:cpo_save = &cpo set cpo-=C let b:undo_ftplugin = 'setlocal commentstring<' setlocal commentstring=//%s let &cpo = s:cpo_save unlet s:cpo_save