comment some found not used variables

Origin commit data
------------------
Branch: ni/coolstream
Commit: 8e06495776
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-05-08 (Tue, 08 May 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
[CST] Focus
2012-05-08 16:18:16 +04:00
parent ec295959ef
commit 558497f4ae
10 changed files with 21 additions and 22 deletions

View File

@@ -757,6 +757,7 @@ void CControlAPI::RCEmCGI(CyhookHandler *hh) {
hh->SendError();
return;
}
#if 0
unsigned int repeat = 1;
unsigned int delay = 250;
if (hh->ParamList["delay"] != "")
@@ -765,7 +766,7 @@ void CControlAPI::RCEmCGI(CyhookHandler *hh) {
repeat = atoi(hh->ParamList["duration"].c_str()) * 1000 / delay;
if (hh->ParamList["repeat"] != "")
repeat = atoi(hh->ParamList["repeat"].c_str());
#endif
int evd = open(EVENTDEV, O_RDWR);
if (evd < 0) {
hh->SendError();

View File

@@ -222,7 +222,7 @@ t_channel_id CNeutrinoAPI::ChannelNameToChannelId(std::string search_channel_nam
bool CNeutrinoAPI::GetStreamInfo(int bitInfo[10])
{
char *key, *tmpptr, buf[100];
char /* *key,*/ *tmpptr, buf[100];
long value;
int pos = 0;
@@ -243,7 +243,7 @@ bool CNeutrinoAPI::GetStreamInfo(int bitInfo[10])
{
buf[strlen(buf)-1]=0;
tmpptr=buf;
key=strsep(&tmpptr,":");
//key=strsep(&tmpptr,":");
value=strtoul(tmpptr,NULL,0);
bitInfo[pos]= value;
pos++;