From 56a4e7b17bac564b3fa923c192835fb6ebebcbcc Mon Sep 17 00:00:00 2001 From: "N.N." Date: Fri, 29 May 2009 05:16:06 +0000 Subject: fix warning on non-linux svn path=/trunk/; revision=11558 --- desiredata/src/m_sched.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 */ -- cgit v1.2.1