Mercurial > vim
view runtime/ftplugin/fstab.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 | e2e2cc5d0856 |
children | 7c7432a53a6c |
line wrap: on
line source
" Vim ftplugin file " Language: fstab file " Maintainer: Radu Dineiu <radu.dineiu@gmail.com> " URL: https://raw.github.com/rid9/vim-fstab/master/ftplugin/fstab.vim " Last Change: 2021 Jan 02 " Version: 1.0 " " Credits: " Subhaditya Nath <sn03.general@gmail.com> if exists("b:did_ftplugin") finish endif let b:did_ftplugin = 1 setlocal commentstring=#%s let b:undo_ftplugin = "setlocal commentstring<" " vim: ts=8 ft=vim