Mercurial > vim
view src/proto/popupmenu.pro @ 26943:61f686b38df9
patch 8.2.4000: Coverity warns for checking for NULL pointer after using it
Commit: https://github.com/vim/vim/commit/fcd1635a4680d53090baa433996954bfe0642366
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jan 4 16:44:56 2022 +0000
patch 8.2.4000: Coverity warns for checking for NULL pointer after using it
Problem: Coverity warns for checking for NULL pointer after using it.
Solution: Remove check for NULL.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 04 Jan 2022 17:45:04 +0100 |
parents | 7b07f361b1d4 |
children |
line wrap: on
line source
/* popupmenu.c */ void pum_display(pumitem_T *array, int size, int selected); void pum_call_update_screen(void); int pum_under_menu(int row, int col, int only_redrawing); void pum_redraw(void); void pum_position_info_popup(win_T *wp); void pum_undisplay(void); void pum_clear(void); int pum_visible(void); int pum_redraw_in_same_position(void); void pum_may_redraw(void); int pum_get_height(void); void pum_set_event_info(dict_T *dict); int split_message(char_u *mesg, pumitem_T **array); void ui_remove_balloon(void); void ui_post_balloon(char_u *mesg, list_T *list); void ui_may_remove_balloon(void); void pum_show_popupmenu(vimmenu_T *menu); void pum_make_popup(char_u *path_name, int use_mouse_pos); /* vim: set ft=c : */