mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 15:32:59 +02:00
fix Wextra compil
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@770 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -38,7 +38,7 @@ private:
|
|||||||
bool opened;
|
bool opened;
|
||||||
PWR_STATE powerState;
|
PWR_STATE powerState;
|
||||||
//
|
//
|
||||||
static void ApplicationCallback(void *hHandle, void *pUserData, signed long eEvent, void *pEventData, void *pTag) {}
|
// static void ApplicationCallback(void *hHandle, void *pUserData, signed long eEvent, void *pEventData, void *pTag) {}
|
||||||
bool SetState(PWR_STATE PowerState);
|
bool SetState(PWR_STATE PowerState);
|
||||||
public:
|
public:
|
||||||
bool Open(void);
|
bool Open(void);
|
||||||
|
@@ -284,7 +284,7 @@ int EventList::exec(const t_channel_id channel_id, const std::string& channelnam
|
|||||||
if(channelname_prev.empty(), channelname_next.empty()){
|
if(channelname_prev.empty(), channelname_next.empty()){
|
||||||
paintHead(channel_id, channelname);
|
paintHead(channel_id, channelname);
|
||||||
}else{
|
}else{
|
||||||
paintHead(channel_id, channelname, channelname_prev, channelname_next);
|
paintHead(channelname, channelname_prev, channelname_next);
|
||||||
|
|
||||||
}
|
}
|
||||||
paint(channel_id);
|
paint(channel_id);
|
||||||
@@ -788,7 +788,7 @@ void EventList::paintItem(unsigned int pos, t_channel_id channel_idI)
|
|||||||
g_Font[SNeutrinoSettings::FONT_TYPE_EVENTLIST_ITEMLARGE]->RenderString(x+10+iw, ypos+ fheight, width- 25- 20, evtlist[liststart+pos].description, color, 0, true);
|
g_Font[SNeutrinoSettings::FONT_TYPE_EVENTLIST_ITEMLARGE]->RenderString(x+10+iw, ypos+ fheight, width- 25- 20, evtlist[liststart+pos].description, color, 0, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
void EventList::paintHead(t_channel_id _channel_id, std::string _channelname, std::string _channelname_prev, std::string _channelname_next)
|
void EventList::paintHead(std::string _channelname, std::string _channelname_prev, std::string _channelname_next)
|
||||||
{
|
{
|
||||||
const short font_h = 8;
|
const short font_h = 8;
|
||||||
int iw = 0, ih = 0;
|
int iw = 0, ih = 0;
|
||||||
|
@@ -107,7 +107,7 @@ class EventList
|
|||||||
void paintItem(unsigned pos, t_channel_id channel_id = 0);
|
void paintItem(unsigned pos, t_channel_id channel_id = 0);
|
||||||
void paint(t_channel_id channel_id = 0);
|
void paint(t_channel_id channel_id = 0);
|
||||||
void paintHead(t_channel_id channel_id, std::string name);
|
void paintHead(t_channel_id channel_id, std::string name);
|
||||||
void paintHead(t_channel_id _channel_id, std::string _channelname, std::string _channelname_prev, std::string _channelname_next);
|
void paintHead(std::string _channelname, std::string _channelname_prev, std::string _channelname_next);
|
||||||
void hide();
|
void hide();
|
||||||
void showFunctionBar(bool show);
|
void showFunctionBar(bool show);
|
||||||
CTimerd::CTimerEventTypes isScheduled(t_channel_id channel_id, CChannelEvent * event, int * tID = NULL);
|
CTimerd::CTimerEventTypes isScheduled(t_channel_id channel_id, CChannelEvent * event, int * tID = NULL);
|
||||||
|
@@ -426,7 +426,7 @@ const char *CFlashVersionInfo::getType(void) const
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const int CFlashVersionInfo::getVersion(void) const
|
int CFlashVersionInfo::getVersion(void) const
|
||||||
{
|
{
|
||||||
return version;
|
return version;
|
||||||
}
|
}
|
||||||
|
@@ -37,7 +37,7 @@ void CLastChannel::clear (void)
|
|||||||
// -- Store only if channel != last channel and time store delay is large enough
|
// -- Store only if channel != last channel and time store delay is large enough
|
||||||
// forceStoreToLastChannels default to false
|
// forceStoreToLastChannels default to false
|
||||||
|
|
||||||
void CLastChannel::store (int channel, t_channel_id channel_id, bool forceStoreToLastChannels)
|
void CLastChannel::store (int channel, t_channel_id channel_id, bool /* forceStoreToLastChannels */)
|
||||||
{
|
{
|
||||||
struct timeval tv;
|
struct timeval tv;
|
||||||
unsigned long lastTimestamp(0);
|
unsigned long lastTimestamp(0);
|
||||||
|
@@ -961,7 +961,7 @@ int CDataResetNotifier::exec(CMenuTarget* /*parent*/, const std::string& actionK
|
|||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
bool CLedControlNotifier::changeNotify(const neutrino_locale_t, void * data)
|
bool CLedControlNotifier::changeNotify(const neutrino_locale_t, void* /*data*/)
|
||||||
{
|
{
|
||||||
CVFD::getInstance()->setled();
|
CVFD::getInstance()->setled();
|
||||||
return true;
|
return true;
|
||||||
|
Reference in New Issue
Block a user