Skip to content

Commit

Permalink
Fix unused var
Browse files Browse the repository at this point in the history
Signed-off-by: Sara Damiano <[email protected]>
  • Loading branch information
SRGDamia1 committed Oct 22, 2024
1 parent 8a313c0 commit f5947fc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/ClockSupport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f5947fc

Please sign in to comment.