CLCD: fix possible compile error

error: unused variable 'ret' [-Werror=unused-variable]


Origin commit data
------------------
Branch: ni/coolstream
Commit: eaa8d8be9f
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-10-29 (Sun, 29 Oct 2017)



------------------
This commit was generated by Migit
This commit is contained in:
2017-10-29 21:09:56 +01:00
parent 1ddcc24bc7
commit 6c726bc223

View File

@@ -348,8 +348,8 @@ void CLCD::showTime(bool force)
if (force || last_display || (hour != t->tm_hour) || (minute != t->tm_min)) {
hour = t->tm_hour;
minute = t->tm_min;
int ret = -1;
#if HAVE_SPARK_HARDWARE
int ret = -1;
now += t->tm_gmtoff;
int fd = dev_open();
#if 0 /* VFDSETTIME is broken and too complicated anyway -> use VFDSETTIME2 */