comparison 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
comparison
equal deleted inserted replaced
18138:28c9188517bc 18139:59bc3cd42cf5
1782 * a bit more verbose. 1782 * a bit more verbose.
1783 * Otherwise use curbuf->b_ffname to generate the undo file name. 1783 * Otherwise use curbuf->b_ffname to generate the undo file name.
1784 * "hash[UNDO_HASH_SIZE]" must be the hash value of the buffer text. 1784 * "hash[UNDO_HASH_SIZE]" must be the hash value of the buffer text.
1785 */ 1785 */
1786 void 1786 void
1787 u_read_undo(char_u *name, char_u *hash, char_u *orig_name) 1787 u_read_undo(char_u *name, char_u *hash, char_u *orig_name UNUSED)
1788 { 1788 {
1789 char_u *file_name; 1789 char_u *file_name;
1790 FILE *fp; 1790 FILE *fp;
1791 long version, str_len; 1791 long version, str_len;
1792 undoline_T line_ptr; 1792 undoline_T line_ptr;