Mercurial > vim
view runtime/ftplugin/slpspi.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 | 1218c5353e2b |
children |
line wrap: on
line source
" Vim filetype plugin file " Language: RFC 2614 - An API for Service Location SPI file " Previous Maintainer: Nikolai Weibull <now@bitwi.se> " Latest Revision: 2008-07-09 if exists("b:did_ftplugin") finish endif let b:did_ftplugin = 1 let s:cpo_save = &cpo set cpo&vim let b:undo_ftplugin = "setl com< cms< fo<" setlocal comments=:#,:; commentstring=#\ %s setlocal formatoptions-=t formatoptions+=croql let &cpo = s:cpo_save unlet s:cpo_save