Skip to content

Commit 4445f7e

Browse files
committed
patch 7.4.1760
Problem: Compiler warning for unused variable. Solution: Add #ifdef. (John Marriott)
1 parent 40b1b54 commit 4445f7e

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

src/os_win32.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1446,7 +1446,9 @@ WaitForChar(long msec)
14461446
INPUT_RECORD ir;
14471447
DWORD cRecords;
14481448
WCHAR ch, ch2;
1449+
#ifdef FEAT_TIMERS
14491450
int tb_change_cnt = typebuf.tb_change_cnt;
1451+
#endif
14501452

14511453
if (msec > 0)
14521454
/* Wait until the specified time has elapsed. */

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -748,6 +748,8 @@ static char *(features[]) =
748748

749749
static int included_patches[] =
750750
{ /* Add new patch number below this line */
751+
/**/
752+
1760,
751753
/**/
752754
1759,
753755
/**/

0 commit comments

Comments
 (0)