Code cleanup and optimization (thanks to Ville Skytt)

This commit is contained in:
Frank Schmirler
2011-11-21 13:03:06 +01:00
parent 20c931ac6d
commit ce1583a756
6 changed files with 4 additions and 30 deletions

View File

@@ -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;
}
}
}

View File

@@ -228,8 +228,6 @@ bool cConnectionHTTP::ProcessRequest(void)
void cConnectionHTTP::Flushed(void)
{
std::string line;
if (m_Status != hsBody)
return;