Remove unused variables.

This commit is contained in:
Jared Boone 2016-01-23 17:53:33 -08:00
parent 14f18d5cf7
commit e4f5539407
3 changed files with 1 additions and 4 deletions

View file

@ -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<int>(logger.capacity()) * bar_width;
const Rect graph_rect {
rect.left() + (rect.width() - graph_width) / 2, rect.top() + 8,