simple_display.cpp: partial revert "fix generic build"

This reverts commit 6dd12cd80f.

hd51 build was broken with -Werror=unused-variable


Origin commit data
------------------
Branch: ni/coolstream
Commit: 58db5ee331
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-11-04 (Sat, 04 Nov 2017)



------------------
This commit was generated by Migit
This commit is contained in:
2017-11-04 15:39:04 +01:00
parent 6e8dcaa0fb
commit a076cad74f

View File

@@ -348,7 +348,9 @@ 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;
#if !HAVE_SPARK_HARDWARE && !HAVE_ARM_HARDWARE
int ret = -1;
#endif
#if HAVE_SPARK_HARDWARE
now += t->tm_gmtoff;
int fd = dev_open();