diff --git a/src/driver/simple_display.cpp b/src/driver/simple_display.cpp index 9e318347e..a18da130d 100644 --- a/src/driver/simple_display.cpp +++ b/src/driver/simple_display.cpp @@ -75,7 +75,7 @@ static int proc_put(const char *path, bool state) return ret; } #else -static int proc_put(const char, bool) {} +static int proc_put(const char, bool) {return 0;} #endif static char volume = 0; @@ -353,8 +353,8 @@ void CLCD::showTime(bool force) if (force || last_display || (switch_name_time_cnt == 0 && ((hour != t->tm_hour) || (minute != t->tm_min)))) { hour = t->tm_hour; minute = t->tm_min; -#if HAVE_SPARK_HARDWARE int ret = -1; +#if HAVE_SPARK_HARDWARE now += t->tm_gmtoff; int fd = dev_open(); #if 0 /* VFDSETTIME is broken and too complicated anyway -> use VFDSETTIME2 */ diff --git a/src/gui/components/cc_item.cpp b/src/gui/components/cc_item.cpp index be2e6678a..33b595b2d 100644 --- a/src/gui/components/cc_item.cpp +++ b/src/gui/components/cc_item.cpp @@ -207,7 +207,7 @@ void CComponentsItem::paintInit(bool do_save_bg) //handle frame color for slected/not selected item if (fr_thickness) { for(size_t j =0; j< v_fbdata.size() ;j++) { - if ((v_fbdata[j].fbdata_type == CC_FBDATA_TYPE_FRAME)){ + if (v_fbdata[j].fbdata_type == CC_FBDATA_TYPE_FRAME){ v_fbdata[j].color = col_frame_cur; v_fbdata[j].frame_thickness = th; } diff --git a/src/gui/epgview.cpp b/src/gui/epgview.cpp index e39f253ce..77dc17b42 100644 --- a/src/gui/epgview.cpp +++ b/src/gui/epgview.cpp @@ -995,7 +995,7 @@ int CEpgData::show(const t_channel_id channel_id, uint64_t a_id, time_t* a_start } break; case NeutrinoMessages::EVT_CURRENTNEXT_EPG: - if (/*!id && */ ((*(t_channel_id *) data) == (channel_id & 0xFFFFFFFFFFFFULL))) { + if (/*!id && */ (*(t_channel_id *) data) == (channel_id & 0xFFFFFFFFFFFFULL)) { show(channel_id,0,NULL,false); showPos=0; }