summaryrefslogtreecommitdiff
path: root/vdr.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2004-02-08 11:23:29 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2004-02-08 11:23:29 +0100
commitacc25ade19f8bb40e9ead2d61d9488a2cf4805af (patch)
treeed62c6cc44af99f799c2e323b9aab03aebb27ace /vdr.c
parent8f5deb8327301c34642c6f403d0c7997f67de717 (diff)
downloadvdr-acc25ade19f8bb40e9ead2d61d9488a2cf4805af.tar.gz
vdr-acc25ade19f8bb40e9ead2d61d9488a2cf4805af.tar.bz2
Removed an unnecessary pointer check
Diffstat (limited to 'vdr.c')
-rw-r--r--vdr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vdr.c b/vdr.c
index c4449858..91673079 100644
--- a/vdr.c
+++ b/vdr.c
@@ -22,7 +22,7 @@
*
* The project's page is at http://www.cadsoft.de/vdr
*
- * $Id: vdr.c 1.174 2004/01/17 16:56:57 kls Exp $
+ * $Id: vdr.c 1.175 2004/02/08 11:23:29 kls Exp $
*/
#include <getopt.h>
@@ -518,7 +518,7 @@ int main(int argc, char *argv[])
Channels.Save(); //XXX only after user changes???
Timers.Save();
for (cChannel *Channel = Channels.First(); Channel; Channel = Channels.Next(Channel)) {
- if (Channel && Channel->Modification(CHANNELMOD_RETUNE)) {
+ if (Channel->Modification(CHANNELMOD_RETUNE)) {
cRecordControls::ChannelDataModified(Channel);
if (Channel->Number() == cDevice::CurrentChannel()) {
if (!cDevice::PrimaryDevice()->Replaying() || cTransferControl::ReceiverDevice()) {