0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.2.3930: getcmdline() argument has a misleading type

Problem:    getcmdline() argument has a misleading type.
Solution:   Use the correct type, even though the value is not used.
This commit is contained in:
Bram Moolenaar
2021-12-28 20:59:56 +00:00
parent 10c75c4a09
commit c97f9a55bd
7 changed files with 11 additions and 9 deletions

View File

@@ -1554,10 +1554,10 @@ init_ccline(int firstc, int indent)
*/
char_u *
getcmdline(
int firstc,
long count, // only used for incremental search
int indent, // indent for inside conditionals
int do_concat UNUSED)
int firstc,
long count, // only used for incremental search
int indent, // indent for inside conditionals
getline_opt_T do_concat UNUSED)
{
return getcmdline_int(firstc, count, indent, TRUE);
}