summaryrefslogtreecommitdiff
path: root/server
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
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')
-rw-r--r--server/connection.c2
-rw-r--r--server/connectionHTTP.c2
2 files changed, 0 insertions, 4 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;
}
}
}
diff --git a/server/connectionHTTP.c b/server/connectionHTTP.c
index ffcc924..161d5c7 100644
--- a/server/connectionHTTP.c
+++ b/server/connectionHTTP.c
@@ -228,8 +228,6 @@ bool cConnectionHTTP::ProcessRequest(void)
void cConnectionHTTP::Flushed(void)
{
- std::string line;
-
if (m_Status != hsBody)
return;