diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2012-02-20 15:53:33 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2012-02-20 15:53:33 +0100 |
commit | 1f22931a77f97c43564f07bf34b877966bb339f4 (patch) | |
tree | e0ffbb8c8bb6a7d95b04a702585960904553fa53 /timers.c | |
parent | f6cdae50ef85678c06e3bef87a79510a88b956c4 (diff) | |
download | vdr-1f22931a77f97c43564f07bf34b877966bb339f4.tar.gz vdr-1f22931a77f97c43564f07bf34b877966bb339f4.tar.bz2 |
Changed the return value of cTimer::SetFile() to 'void'
Diffstat (limited to 'timers.c')
-rw-r--r-- | timers.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: timers.c 2.6 2012/02/20 15:37:01 kls Exp $ + * $Id: timers.c 2.7 2012/02/20 15:51:55 kls Exp $ */ #include "timers.h" @@ -384,11 +384,10 @@ time_t cTimer::SetTime(time_t t, int SecondsFromMidnight) return mktime(&tm); } -char *cTimer::SetFile(const char *File) +void cTimer::SetFile(const char *File) { if (!isempty(File)) Utf8Strn0Cpy(file, File, sizeof(file)); - return file; } bool cTimer::Matches(time_t t, bool Directly, int Margin) const |