diff --git a/firmware/application/ais_app.cpp b/firmware/application/ais_app.cpp index d0f5ca25..5c51adbf 100644 --- a/firmware/application/ais_app.cpp +++ b/firmware/application/ais_app.cpp @@ -265,8 +265,6 @@ Rect AISRecentEntryDetailView::draw_field( const int label_length_max = 4; painter.draw_string(Point { draw_rect.left(), draw_rect.top() }, style, label); - - const auto length = value.length(); painter.draw_string(Point { draw_rect.left() + (label_length_max + 1) * 8, draw_rect.top() }, style, value); return { draw_rect.left(), draw_rect.top() + draw_rect.height(), draw_rect.width(), draw_rect.height() }; diff --git a/firmware/application/tpms_app.cpp b/firmware/application/tpms_app.cpp index 73275575..f738e2d5 100644 --- a/firmware/application/tpms_app.cpp +++ b/firmware/application/tpms_app.cpp @@ -243,7 +243,7 @@ void TPMSAppView::on_packet(const tpms::Packet& packet) { const auto reading_opt = packet.reading(); if( reading_opt.is_valid() ) { const auto reading = reading_opt.value(); - const auto updated_entry = recent.on_packet({ reading.type(), reading.id() }, reading); + recent.on_packet({ reading.type(), reading.id() }, reading); recent_entries_view.set_dirty(); } } diff --git a/firmware/application/ui_debug.cpp b/firmware/application/ui_debug.cpp index 243c555e..7dde4ab3 100644 --- a/firmware/application/ui_debug.cpp +++ b/firmware/application/ui_debug.cpp @@ -67,7 +67,6 @@ void TemperatureWidget::paint(Painter& painter) { const Color color_foreground = Color::green(); const Color color_reticle { 128, 128, 128 }; - const Dim graph_height = rect.height() - 16; const auto graph_width = static_cast(logger.capacity()) * bar_width; const Rect graph_rect { rect.left() + (rect.width() - graph_width) / 2, rect.top() + 8,