diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2004-02-08 11:23:29 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2004-02-08 11:23:29 +0100 |
commit | acc25ade19f8bb40e9ead2d61d9488a2cf4805af (patch) | |
tree | ed62c6cc44af99f799c2e323b9aab03aebb27ace /vdr.c | |
parent | 8f5deb8327301c34642c6f403d0c7997f67de717 (diff) | |
download | vdr-acc25ade19f8bb40e9ead2d61d9488a2cf4805af.tar.gz vdr-acc25ade19f8bb40e9ead2d61d9488a2cf4805af.tar.bz2 |
Removed an unnecessary pointer check
Diffstat (limited to 'vdr.c')
-rw-r--r-- | vdr.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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()) { |