diff options
author | N.N. <matju@users.sourceforge.net> | 2009-05-29 05:16:06 +0000 |
---|---|---|
committer | N.N. <matju@users.sourceforge.net> | 2009-05-29 05:16:06 +0000 |
commit | 56a4e7b17bac564b3fa923c192835fb6ebebcbcc (patch) | |
tree | d0020e42020407ab5ef27360c2ba6b920e0b6171 /desiredata/src | |
parent | 2fffb5751c57344db0a648cb88c0d06a2da72f52 (diff) |
fix warning on non-linux
svn path=/trunk/; revision=11558
Diffstat (limited to 'desiredata/src')
-rw-r--r-- | desiredata/src/m_sched.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/desiredata/src/m_sched.c b/desiredata/src/m_sched.c index 4bce5f7a..50b71af9 100644 --- a/desiredata/src/m_sched.c +++ b/desiredata/src/m_sched.c @@ -229,10 +229,11 @@ static int sched_lastinclip, sched_lastoutclip, sched_lastindb, sched_lastoutdb; static void sched_pollformeters () { int inclip, outclip, indb, outdb; - static int sched_nextmeterpolltime, sched_nextpingtime; + static int sched_nextmeterpolltime; /* if there's no GUI but we're running in "realtime", here is where we arrange to ping the watchdog every 2 seconds. */ #ifdef __linux__ + static int sched_nextpingtime; if (sys_hipriority && (sched_diddsp - sched_nextpingtime > 0)) { glob_watchdog(0); /* ping every 2 seconds */ |