mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Removed an unnecessary pointer check
This commit is contained in:
parent
8f5deb8327
commit
acc25ade19
4
vdr.c
4
vdr.c
@ -22,7 +22,7 @@
|
|||||||
*
|
*
|
||||||
* The project's page is at http://www.cadsoft.de/vdr
|
* 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>
|
#include <getopt.h>
|
||||||
@ -518,7 +518,7 @@ int main(int argc, char *argv[])
|
|||||||
Channels.Save(); //XXX only after user changes???
|
Channels.Save(); //XXX only after user changes???
|
||||||
Timers.Save();
|
Timers.Save();
|
||||||
for (cChannel *Channel = Channels.First(); Channel; Channel = Channels.Next(Channel)) {
|
for (cChannel *Channel = Channels.First(); Channel; Channel = Channels.Next(Channel)) {
|
||||||
if (Channel && Channel->Modification(CHANNELMOD_RETUNE)) {
|
if (Channel->Modification(CHANNELMOD_RETUNE)) {
|
||||||
cRecordControls::ChannelDataModified(Channel);
|
cRecordControls::ChannelDataModified(Channel);
|
||||||
if (Channel->Number() == cDevice::CurrentChannel()) {
|
if (Channel->Number() == cDevice::CurrentChannel()) {
|
||||||
if (!cDevice::PrimaryDevice()->Replaying() || cTransferControl::ReceiverDevice()) {
|
if (!cDevice::PrimaryDevice()->Replaying() || cTransferControl::ReceiverDevice()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user