diff src/undo.c @ 18139:59bc3cd42cf5 v8.1.2064

patch 8.1.2064: MS-Windows: compiler warnings for unused arguments Commit: https://github.com/vim/vim/commit/bd67aac279adf3a1cfa11557229b44e4c2c3dcda Author: Bram Moolenaar <Bram@vim.org> Date: Sat Sep 21 23:09:04 2019 +0200 patch 8.1.2064: MS-Windows: compiler warnings for unused arguments Problem: MS-Windows: compiler warnings for unused arguments. Solution: Add UNUSED. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/4963)
author Bram Moolenaar <Bram@vim.org>
date Sat, 21 Sep 2019 23:15:03 +0200
parents d1e77015f60b
children 18d7337b6837
line wrap: on
line diff
--- a/src/undo.c
+++ b/src/undo.c
@@ -1784,7 +1784,7 @@ theend:
  * "hash[UNDO_HASH_SIZE]" must be the hash value of the buffer text.
  */
     void
-u_read_undo(char_u *name, char_u *hash, char_u *orig_name)
+u_read_undo(char_u *name, char_u *hash, char_u *orig_name UNUSED)
 {
     char_u	*file_name;
     FILE	*fp;