summaryrefslogtreecommitdiff
path: root/server/connection.c
diff options
context:
space:
mode:
authorFrank Schmirler <vdr@schmirler.de>2011-11-21 13:03:06 +0100
committerFrank Schmirler <vdr@schmirler.de>2011-11-21 13:03:06 +0100
commitce1583a756fe7d80522ed3e82275705b9cbe00b7 (patch)
treecf02bd72199445506a713e38adf6a65d0c00b2bd /server/connection.c
parent20c931ac6d8cbc335f066bb406cdaf9490f10235 (diff)
downloadvdr-plugin-streamdev-ce1583a756fe7d80522ed3e82275705b9cbe00b7.tar.gz
vdr-plugin-streamdev-ce1583a756fe7d80522ed3e82275705b9cbe00b7.tar.bz2
Code cleanup and optimization (thanks to Ville Skyttä)
Diffstat (limited to 'server/connection.c')
-rw-r--r--server/connection.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/server/connection.c b/server/connection.c
index a73470b..366eec5 100644
--- a/server/connection.c
+++ b/server/connection.c
@@ -281,7 +281,6 @@ cDevice* cServerConnection::CheckDevice(const cChannel *Channel, int Priority, b
return NULL; // no CAM is able to decrypt this channel
}
- bool NeedsDetachReceivers = false;
cDevice *d = NULL;
//cCamSlot *s = NULL;
@@ -335,7 +334,6 @@ cDevice* cServerConnection::CheckDevice(const cChannel *Channel, int Priority, b
// This device has less impact than any previous one, so we take it.
Impact = imp;
d = device;
- NeedsDetachReceivers = ndr;
}
}
}