aboutsummaryrefslogtreecommitdiffstats
path: root/timer.c
diff options
context:
space:
mode:
authormzuther <mzuther@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2010-02-04 13:48:59 +0000
committermzuther <mzuther@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2010-02-04 13:48:59 +0000
commit15d08f4e90531ed35cea32538a7bd9e7a6ae7e32 (patch)
tree417d7e290e43bcd1b19445fecb8667ab8543edd3 /timer.c
parent39494819fd4f2741de434edb798755c399c66319 (diff)
downloadlcd4linux-15d08f4e90531ed35cea32538a7bd9e7a6ae7e32.tar.gz
timer.c: removed fruitless changes to variable "flag" from timer_process()
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1101 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'timer.c')
-rw-r--r--timer.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/timer.c b/timer.c
index 3bb504d..174e1e3 100644
--- a/timer.c
+++ b/timer.c
@@ -170,12 +170,10 @@ int timer_process(struct timespec *delay)
}
/* process expired timers */
- flag = 0;
for (i = 0; i < nTimers; i++) {
if (Timers[i].active == 0)
continue;
if (!timercmp(&Timers[i].when, &now, >)) {
- flag = 1;
/* callback */
if (Timers[i].callback != NULL) {
Timers[i].callback(Timers[i].data);