• R/O
  • SSH

vim: Commit

Mirror of the Vim source from https://github.com/vim/vim


Commit MetaInfo

Revisiónc4b94533559e97482257fa6d2e2c1588eb839b75 (tree)
Tiempo2022-01-17 07:00:03
AutorBram Moolenaar <Bram@vim....>
CommiterBram Moolenaar

Log Message

patch 8.2.4118: using UNUSED for argument that is used

Commit: https://github.com/vim/vim/commit/0023f82a76cf43a12b41e71f97a2e860d0444e1b
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jan 16 21:54:19 2022 +0000

patch 8.2.4118: using UNUSED for argument that is used
Problem: Using UNUSED for argument that is used.
Solution: Remove UNUSED.

Cambiar Resumen

Diferencia incremental

diff -r 92e8c2995d62 -r c4b94533559e src/usercmd.c
--- a/src/usercmd.c Sun Jan 16 22:30:04 2022 +0100
+++ b/src/usercmd.c Sun Jan 16 23:00:03 2022 +0100
@@ -123,10 +123,10 @@
123123 char_u *
124124 find_ucmd(
125125 exarg_T *eap,
126- char_u *p, // end of the command (possibly including count)
127- int *full, // set to TRUE for a full match
128- expand_T *xp, // used for completion, NULL otherwise
129- int *complp UNUSED) // completion flags or NULL
126+ char_u *p, // end of the command (possibly including count)
127+ int *full, // set to TRUE for a full match
128+ expand_T *xp, // used for completion, NULL otherwise
129+ int *complp) // completion flags or NULL
130130 {
131131 int len = (int)(p - eap->cmd);
132132 int j, k, matchlen = 0;
diff -r 92e8c2995d62 -r c4b94533559e src/version.c
--- a/src/version.c Sun Jan 16 22:30:04 2022 +0100
+++ b/src/version.c Sun Jan 16 23:00:03 2022 +0100
@@ -751,6 +751,8 @@
751751 static int included_patches[] =
752752 { /* Add new patch number below this line */
753753 /**/
754+ 4118,
755+/**/
754756 4117,
755757 /**/
756758 4116,
Show on old repository browser