Mercurial > vim
view src/proto/beval.pro @ 27885:dd804c17e7e3 v8.2.4468
patch 8.2.4468: Coverity warns for uninitialized struct member
Commit: https://github.com/vim/vim/commit/68afde4c9b4379b757cc72112c33df9cf221eba8
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Feb 25 20:48:26 2022 +0000
patch 8.2.4468: Coverity warns for uninitialized struct member
Problem: Coverity warns for uninitialized struct member.
Solution: Set color.index to zero.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 25 Feb 2022 22:00:03 +0100 |
parents | 8813e1626e0a |
children |
line wrap: on
line source
/* beval.c */ int find_word_under_cursor(int mouserow, int mousecol, int getword, int flags, win_T **winp, linenr_T *lnump, char_u **textp, int *colp, int *startcolp); int get_beval_info(BalloonEval *beval, int getword, win_T **winp, linenr_T *lnump, char_u **textp, int *colp); void post_balloon(BalloonEval *beval, char_u *mesg, list_T *list); int can_use_beval(void); void general_beval_cb(BalloonEval *beval, int state); /* vim: set ft=c : */