aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorN.N. <matju@users.sourceforge.net>2009-05-29 05:16:06 +0000
committerN.N. <matju@users.sourceforge.net>2009-05-29 05:16:06 +0000
commit56a4e7b17bac564b3fa923c192835fb6ebebcbcc (patch)
treed0020e42020407ab5ef27360c2ba6b920e0b6171
parent2fffb5751c57344db0a648cb88c0d06a2da72f52 (diff)
fix warning on non-linux
svn path=/trunk/; revision=11558
-rw-r--r--desiredata/src/m_sched.c3
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 */