t0mg / wordclock

ESP32 based DIY word clock project
Apache License 2.0
66 stars 11 forks source link

Control reaches end of non-void function warning #25

Closed tjfsteele closed 8 months ago

tjfsteele commented 8 months ago

src/src/ClockFace.cpp: In member function 'uint16_t ClockFace::map(int16_t, int16_t)': src/src/ClockFace.cpp:64:3: warning: control reaches end of non-void function [-Wreturn-type] default: ^~~ src/src/ClockFace.cpp: In member function 'uint16_t ClockFace::mapMinute(ClockFace::Corners)': src/src/ClockFace.cpp:91:3: warning: control reaches end of non-void function [-Wreturn-type] default: ^~~