commit | 4445f7ee708f1a1304526a5979c9dd9883a92a0a | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Wed Apr 20 20:55:56 2016 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Wed Apr 20 20:55:56 2016 +0200 |
tree | c6fb468122d466ebb488e53343f033e39849ff2b | |
parent | 40b1b5443c88fab77f1f7c6f9e801f7ffdb7e0a8 [diff] [blame] |
patch 7.4.1760 Problem: Compiler warning for unused variable. Solution: Add #ifdef. (John Marriott)
diff --git a/src/os_win32.c b/src/os_win32.c index 159905d..dfc0d4d 100644 --- a/src/os_win32.c +++ b/src/os_win32.c
@@ -1446,7 +1446,9 @@ INPUT_RECORD ir; DWORD cRecords; WCHAR ch, ch2; +#ifdef FEAT_TIMERS int tb_change_cnt = typebuf.tb_change_cnt; +#endif if (msec > 0) /* Wait until the specified time has elapsed. */