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)
: Screen(app),
dateTimeController {dateTimeController},
weatherService(weather),
screens {app,
0,

View File

@ -25,7 +25,6 @@ namespace Pinetime {
private:
bool running = true;
Pinetime::Controllers::DateTime& dateTimeController;
Controllers::WeatherService& weatherService;
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() {