Author: cybuzuma <106408965+cybuzuma@users.noreply.github.com>
compiler warnings, #1035 and #notreported (#1481)
src/displayapp/screens/Weather.cpp | 1 - src/displayapp/screens/Weather.h | 1 - src/displayapp/widgets/Counter.cpp | 2 +-
diff --git a/src/displayapp/screens/Weather.cpp b/src/displayapp/screens/Weather.cpp index 1d0a83bd843dbca7e529570c9290c32b1476af09..ff067db89c429778533c97769de3ef99f483fa1f 100644 --- a/src/displayapp/screens/Weather.cpp +++ b/src/displayapp/screens/Weather.cpp @@ -27,7 +27,6 @@ using namespace Pinetime::Applications::Screens; Weather::Weather(Pinetime::Applications::DisplayApp* app, Pinetime::Controllers::WeatherService& weather) : Screen(app), - dateTimeController {dateTimeController}, weatherService(weather), screens {app, 0, diff --git a/src/displayapp/screens/Weather.h b/src/displayapp/screens/Weather.h index 34f95fcec8b52b5d90c50b2d73b5040124b6824a..21b05bd8c6309f3ff86f3a5a48007c34cd94d612 100644 --- a/src/displayapp/screens/Weather.h +++ b/src/displayapp/screens/Weather.h @@ -25,7 +25,6 @@ private: bool running = true; - Pinetime::Controllers::DateTime& dateTimeController; Controllers::WeatherService& weatherService; ScreenList<5> screens; diff --git a/src/displayapp/widgets/Counter.cpp b/src/displayapp/widgets/Counter.cpp index e95178ec11ed4977ab00c535b5963c6a27db8ef9..ccc28cc81f59cc7b3cc4916d83a7d5d697e849bc 100644 --- a/src/displayapp/widgets/Counter.cpp +++ b/src/displayapp/widgets/Counter.cpp @@ -28,7 +28,7 @@ return digitCount; } } -Counter::Counter(int min, int max, lv_font_t& font) : min {min}, max {max}, value {min}, font {font}, leadingZeroCount {digitCount(max)} { +Counter::Counter(int min, int max, lv_font_t& font) : min {min}, max {max}, value {min}, leadingZeroCount {digitCount(max)}, font {font} { } void Counter::UpBtnPressed() {