Mercurial > vim
view runtime/delmenu.vim @ 15253:8d7a3fd70ff4 v8.1.0635
patch 8.1.0635: Coverity complains about null pointer use
commit https://github.com/vim/vim/commit/e38197d50f7068c4b68043792d283da98e526ec3
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Dec 24 23:35:13 2018 +0100
patch 8.1.0635: Coverity complains about null pointer use
Problem: Coverity complains about null pointer use.
Solution: Avoid using a null pointer.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 24 Dec 2018 23:45:04 +0100 |
parents | 405309f9dd13 |
children | 8ac85adee561 |
line wrap: on
line source
" This Vim script deletes all the menus, so that they can be redefined. " Warning: This also deletes all menus defined by the user! " " Maintainer: Bram Moolenaar <Bram@vim.org> " Last Change: 2001 May 27 aunmenu * tlunmenu * silent! unlet did_install_default_menus silent! unlet did_install_syntax_menu if exists("did_menu_trans") menutrans clear unlet did_menu_trans endif silent! unlet find_help_dialog silent! unlet menutrans_help_dialog silent! unlet menutrans_path_dialog silent! unlet menutrans_tags_dialog silent! unlet menutrans_textwidth_dialog silent! unlet menutrans_fileformat_dialog silent! unlet menutrans_no_file " vim: set sw=2 :