]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.2.0559: clearing a struct is verbose v8.2.0559
authorBram Moolenaar <Bram@vim.org>
Sun, 12 Apr 2020 17:37:17 +0000 (19:37 +0200)
committerBram Moolenaar <Bram@vim.org>
Sun, 12 Apr 2020 17:37:17 +0000 (19:37 +0200)
commita80faa8930ed5a554beeb2727762538873135e83
treee797605e0c781214543fcba103cffede7af611cd
parent82de464f763d6e6d89229be03ce7c6d02fd5fb59
patch 8.2.0559: clearing a struct is verbose

Problem:    Clearing a struct is verbose.
Solution:   Define and use CLEAR_FIELD() and CLEAR_POINTER().
55 files changed:
src/blowfish.c
src/channel.c
src/charset.c
src/clipboard.c
src/diff.c
src/eval.c
src/evalfunc.c
src/ex_cmds2.c
src/ex_docmd.c
src/ex_getln.c
src/findfile.c
src/gui_gtk_f.c
src/gui_mac.c
src/gui_motif.c
src/gui_w32.c
src/gui_x11.c
src/hardcopy.c
src/hashtab.c
src/highlight.c
src/if_mzsch.c
src/if_py_both.h
src/insexpand.c
src/kword_test.c
src/list.c
src/main.c
src/map.c
src/memfile.c
src/message_test.c
src/misc1.c
src/netbeans.c
src/normal.c
src/ops.c
src/option.c
src/os_mswin.c
src/os_win32.c
src/popupmenu.c
src/quickfix.c
src/regexp.c
src/regexp_bt.c
src/regexp_nfa.c
src/search.c
src/sign.c
src/spell.c
src/spellfile.c
src/spellsuggest.c
src/syntax.c
src/tag.c
src/terminal.c
src/time.c
src/undo.c
src/userfunc.c
src/version.c
src/vim.h
src/vim9compile.c
src/vim9execute.c