summaryrefslogtreecommitdiff
path: root/timers.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2004-11-22 16:51:19 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2004-11-22 16:51:19 +0100
commit4146ac1928fc5a60456bb43dccce352b984e57a3 (patch)
tree7419decf6f2b929782fd847e4b37f7498620e130 /timers.c
parent4f65416bd16b9dfd0f4b9939070e8cf3a65646b3 (diff)
downloadvdr-4146ac1928fc5a60456bb43dccce352b984e57a3.tar.gz
vdr-4146ac1928fc5a60456bb43dccce352b984e57a3.tar.bz2
Removed an unused variable from cTimer::GetWDayFromMDay()
Diffstat (limited to 'timers.c')
-rw-r--r--timers.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/timers.c b/timers.c
index 62f59d84..921a2256 100644
--- a/timers.c
+++ b/timers.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: timers.c 1.18 2004/11/21 13:15:33 kls Exp $
+ * $Id: timers.c 1.19 2004/11/22 16:49:15 kls Exp $
*/
#include "timers.h"
@@ -272,7 +272,6 @@ int cTimer::GetWDay(time_t t)
int cTimer::GetWDayFromMDay(int MDay)
{
time_t now = time(NULL);
- int md = GetMDay(now);
for (int i = -1; i <= 28; i++) { // looking 4 weeks into the future should be enough
time_t t0 = IncDay(now, i);
if (GetMDay(t0) == MDay)