forked from aniani/vim
patch 7.4.1760
Problem: Compiler warning for unused variable. Solution: Add #ifdef. (John Marriott)
This commit is contained in:
@@ -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. */
|
||||
|
Reference in New Issue
Block a user