1
0
forked from aniani/vim

patch 7.4.1760

Problem:    Compiler warning for unused variable.
Solution:   Add #ifdef. (John Marriott)
This commit is contained in:
Bram Moolenaar
2016-04-20 20:55:56 +02:00
parent 40b1b5443c
commit 4445f7ee70
2 changed files with 4 additions and 0 deletions

View File

@@ -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. */