diff --git a/src/nhttpd/tuxboxapi/coolstream/neutrinoapi.cpp b/src/nhttpd/tuxboxapi/coolstream/neutrinoapi.cpp index b9a09482e..93671d5b8 100644 --- a/src/nhttpd/tuxboxapi/coolstream/neutrinoapi.cpp +++ b/src/nhttpd/tuxboxapi/coolstream/neutrinoapi.cpp @@ -227,14 +227,14 @@ t_channel_id CNeutrinoAPI::ChannelNameToChannelId(std::string search_channel_nam //------------------------------------------------------------------------- // Get functions //------------------------------------------------------------------------- - +#if 0 /* unused funktion*/ bool CNeutrinoAPI::GetStreamInfo(int bitInfo[10]) { char /* *key,*/ *tmpptr, buf[100]; long value; int pos = 0; - memset(bitInfo, 0, sizeof(bitInfo)); + memset(bitInfo, 0, 10); FILE *fd = fopen("/proc/bus/bitstream", "rt"); @@ -261,7 +261,7 @@ bool CNeutrinoAPI::GetStreamInfo(int bitInfo[10]) return true; } - +#endif //------------------------------------------------------------------------- bool CNeutrinoAPI::GetChannelEvents(void) diff --git a/src/nhttpd/tuxboxapi/coolstream/neutrinoapi.h b/src/nhttpd/tuxboxapi/coolstream/neutrinoapi.h index a98a7b5bf..4d504eae0 100644 --- a/src/nhttpd/tuxboxapi/coolstream/neutrinoapi.h +++ b/src/nhttpd/tuxboxapi/coolstream/neutrinoapi.h @@ -53,7 +53,9 @@ class CNeutrinoAPI // get functions to collect data bool GetChannelEvents(void); +#if 0 /* unused funktion*/ bool GetStreamInfo(int bitinfo[10]); +#endif std::string GetServiceName(t_channel_id channel_id); CZapitClient::BouquetChannelList *GetBouquet(unsigned int BouquetNr, int Mode); CZapitClient::BouquetChannelList *GetChannelList(int Mode);