]> granicus.if.org Git - vim/commit
patch 9.0.1391: "clear" macros are not always used v9.0.1391
authorYegappan Lakshmanan <yegappan@yahoo.com>
Tue, 7 Mar 2023 17:45:11 +0000 (17:45 +0000)
committerBram Moolenaar <Bram@vim.org>
Tue, 7 Mar 2023 17:45:11 +0000 (17:45 +0000)
commit960dcbd098c761dd623bec9492d5391ff6e8dceb
treedf2abb6d73be0c31de679fa00251e133a0e99ab6
parent14113fdf9cb3d588c0d1c3a210246b981cf5aad3
patch 9.0.1391: "clear" macros are not always used

Problem:    "clear" macros are not always used.
Solution:   Use ALLOC_ONE, VIM_CLEAR, CLEAR_POINTER and CLEAR_FIELD in more
            places. (Yegappan Lakshmanan, closes #12104)
23 files changed:
src/buffer.c
src/channel.c
src/debugger.c
src/diff.c
src/evalfunc.c
src/fileio.c
src/gui_photon.c
src/gui_w32.c
src/hardcopy.c
src/indent.c
src/list.c
src/mbyte.c
src/option.c
src/optionstr.c
src/os_qnx.c
src/os_win32.c
src/popupwin.c
src/quickfix.c
src/search.c
src/syntax.c
src/textprop.c
src/userfunc.c
src/version.c