Mercurial > vim
view src/proto/if_cscope.pro @ 23829:950875545045 v8.2.2456
patch 8.2.2456: Coverity warning for strcpy() into fixed size array
Commit: https://github.com/vim/vim/commit/7b6903f02c9eeb12cd85941ea0d352d84e4dab30
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Feb 3 19:31:29 2021 +0100
patch 8.2.2456: Coverity warning for strcpy() into fixed size array
Problem: Coverity warning for strcpy() into fixed size array.
Solution: Add a type cast to hopefully silence the bogus warning.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 03 Feb 2021 19:45:04 +0100 |
parents | 05b240971884 |
children |
line wrap: on
line source
/* if_cscope.c */ char_u *get_cscope_name(expand_T *xp, int idx); void set_context_in_cscope_cmd(expand_T *xp, char_u *arg, cmdidx_T cmdidx); void ex_cscope(exarg_T *eap); void ex_scscope(exarg_T *eap); void ex_cstag(exarg_T *eap); int cs_fgets(char_u *buf, int size); void cs_free_tags(void); void cs_print_tags(void); void cs_end(void); void f_cscope_connection(typval_T *argvars, typval_T *rettv); /* vim: set ft=c : */