Mercurial > vim
view runtime/ftplugin/bst.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 | 7bc41231fbc7 |
children |
line wrap: on
line source
" Vim filetype plugin file " Language: bst " Author: Tim Pope <vimNOSPAM@tpope.info> " $Id: bst.vim,v 1.1 2007/05/05 17:37:57 vimboss Exp $ if exists("b:did_ftplugin") finish endif let b:did_ftplugin = 1 setlocal commentstring=%\ %s setlocal comments=:% setlocal fo-=t fo+=croql let b:undo_ftplugin = "setlocal com< cms< fo<"