mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 23:42:58 +02:00
CLCD: fix possible compile error
error: unused variable 'ret' [-Werror=unused-variable]
This commit is contained in:
@@ -348,8 +348,8 @@ void CLCD::showTime(bool force)
|
|||||||
if (force || last_display || (hour != t->tm_hour) || (minute != t->tm_min)) {
|
if (force || last_display || (hour != t->tm_hour) || (minute != t->tm_min)) {
|
||||||
hour = t->tm_hour;
|
hour = t->tm_hour;
|
||||||
minute = t->tm_min;
|
minute = t->tm_min;
|
||||||
int ret = -1;
|
|
||||||
#if HAVE_SPARK_HARDWARE
|
#if HAVE_SPARK_HARDWARE
|
||||||
|
int ret = -1;
|
||||||
now += t->tm_gmtoff;
|
now += t->tm_gmtoff;
|
||||||
int fd = dev_open();
|
int fd = dev_open();
|
||||||
#if 0 /* VFDSETTIME is broken and too complicated anyway -> use VFDSETTIME2 */
|
#if 0 /* VFDSETTIME is broken and too complicated anyway -> use VFDSETTIME2 */
|
||||||
|
Reference in New Issue
Block a user