From 4445f7ee708f1a1304526a5979c9dd9883a92a0a Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 20 Apr 2016 20:55:56 +0200 Subject: [PATCH] patch 7.4.1760 Problem: Compiler warning for unused variable. Solution: Add #ifdef. (John Marriott) --- src/os_win32.c | 2 ++ src/version.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/os_win32.c b/src/os_win32.c index 159905d0b..dfc0d4d74 100644 --- a/src/os_win32.c +++ b/src/os_win32.c @@ -1446,7 +1446,9 @@ WaitForChar(long msec) 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. */ diff --git a/src/version.c b/src/version.c index f550196cb..eeff8c6f5 100644 --- a/src/version.c +++ b/src/version.c @@ -748,6 +748,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1760, /**/ 1759, /**/ -- 2.40.0