mirror of
https://github.com/neovim/neovim.git
synced 2024-12-24 21:25:04 -07:00
*: Fix linter errors
This commit is contained in:
parent
a8e18d9b5a
commit
ca6235c20f
@ -1873,7 +1873,7 @@ static void source_startup_scripts(mparm_T *parmp)
|
||||
else
|
||||
secure = 0;
|
||||
#endif
|
||||
(void) do_source((char_u *)EXRC_FILE, FALSE, DOSO_NONE);
|
||||
(void) do_source((char_u *)EXRC_FILE, false, DOSO_NONE);
|
||||
}
|
||||
}
|
||||
xfree(user_vimrc);
|
||||
|
@ -3385,10 +3385,10 @@ static char *findswapname(buf_T *buf, char **dirp, char *old_fname,
|
||||
name = xmalloc(fname_len
|
||||
+ strlen(_("Swap file \""))
|
||||
+ strlen(_("\" already exists!")) + 5);
|
||||
strcpy(name, _("Swap file \""));
|
||||
STRCPY(name, _("Swap file \""));
|
||||
home_replace(NULL, (char_u *) fname, (char_u *)&name[strlen(name)],
|
||||
fname_len, true);
|
||||
strcat(name, _("\" already exists!"));
|
||||
STRCAT(name, _("\" already exists!"));
|
||||
choice = do_dialog(VIM_WARNING,
|
||||
(char_u *)_("VIM - ATTENTION"),
|
||||
(char_u *)(name == NULL
|
||||
|
@ -376,7 +376,7 @@ char *concat_fnames(const char *fname1, const char *fname2, bool sep)
|
||||
/// Concatenate file names fname1 and fname2
|
||||
///
|
||||
/// Like concat_fnames(), but in place of allocating new memory it reallocates
|
||||
/// fname1. For this reason fname1 must be allocated with xmalloc, and can no
|
||||
/// fname1. For this reason fname1 must be allocated with xmalloc, and can no
|
||||
/// longer be used after running concat_fnames_realloc.
|
||||
///
|
||||
/// @param fname1 is the first part of the path or filename
|
||||
|
Loading…
Reference in New Issue
Block a user