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 #4963)
diff --git a/src/undo.c b/src/undo.c
index 732efab..2736f2a 100644
--- a/src/undo.c
+++ b/src/undo.c
@@ -1784,7 +1784,7 @@
* "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;