compiler warnings, #1035 and #notreported (#1481)

This commit is contained in:
cybuzuma 2022-12-12 21:28:39 +01:00 committed by GitHub
parent 361e381ac3
commit 1062fec5f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 3 deletions

View file

@ -27,7 +27,6 @@ using namespace Pinetime::Applications::Screens;
Weather::Weather(Pinetime::Applications::DisplayApp* app, Pinetime::Controllers::WeatherService& weather) Weather::Weather(Pinetime::Applications::DisplayApp* app, Pinetime::Controllers::WeatherService& weather)
: Screen(app), : Screen(app),
dateTimeController {dateTimeController},
weatherService(weather), weatherService(weather),
screens {app, screens {app,
0, 0,

View file

@ -25,7 +25,6 @@ namespace Pinetime {
private: private:
bool running = true; bool running = true;
Pinetime::Controllers::DateTime& dateTimeController;
Controllers::WeatherService& weatherService; Controllers::WeatherService& weatherService;
ScreenList<5> screens; ScreenList<5> screens;

View file

@ -28,7 +28,7 @@ namespace {
} }
} }
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() { void Counter::UpBtnPressed() {