From f5947fcfe1dfb88b5069eb2e7165160545d12185 Mon Sep 17 00:00:00 2001 From: Sara Damiano Date: Tue, 22 Oct 2024 12:20:29 -0400 Subject: [PATCH] Fix unused var Signed-off-by: Sara Damiano --- src/ClockSupport.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/ClockSupport.cpp b/src/ClockSupport.cpp index 5ebc7698d..66cbd40d3 100644 --- a/src/ClockSupport.cpp +++ b/src/ClockSupport.cpp @@ -182,9 +182,8 @@ String loggerClock::formatDateTime_ISO8601(uint32_t epochTime, MS_DEEP_DBG(F("THE TIME FORMAT IS NOT THE SAME SIZE AS A uint32_t!"), sizeof(time_t), sizeof(uint32_t)); } - bool is_signed = (((time_t)(-1)) < 0); MS_DEEP_DBG(F("THE TIME FORMAT IS"), - is_signed ? F("SIGNED") : F("UNSIGNED")); + (((time_t)(-1)) < 0) ? F("SIGNED") : F("UNSIGNED")); // implicit cast to time_t time_t t = epochTime;