From 60c7e01d2db69b4d1035e8324ab896f80ecc8cdf Mon Sep 17 00:00:00 2001 From: Dean Lee Date: Thu, 10 Jun 2021 15:03:34 +0800 Subject: [PATCH] remove double semicolons (#21215) old-commit-hash: d82fa763d86750b31fe3edbb278d71565f6e3580 --- selfdrive/modeld/thneed/compile.cc | 2 +- selfdrive/ui/qt/sidebar.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/selfdrive/modeld/thneed/compile.cc b/selfdrive/modeld/thneed/compile.cc index 651b67aa1f..01a71b7475 100644 --- a/selfdrive/modeld/thneed/compile.cc +++ b/selfdrive/modeld/thneed/compile.cc @@ -16,7 +16,7 @@ int main(int argc, char* argv[]) { float state[TEMPORAL_SIZE] = {0}; float desire[DESIRE_LEN] = {0}; float traffic_convention[TRAFFIC_CONVENTION_LEN] = {0}; - float *input = (float*)calloc(0x1000000, sizeof(float));; + float *input = (float*)calloc(0x1000000, sizeof(float)); mdl.addRecurrent(state, TEMPORAL_SIZE); mdl.addDesire(desire, DESIRE_LEN); diff --git a/selfdrive/ui/qt/sidebar.cc b/selfdrive/ui/qt/sidebar.cc index fc1f97c8cd..4499cc3da9 100644 --- a/selfdrive/ui/qt/sidebar.cc +++ b/selfdrive/ui/qt/sidebar.cc @@ -35,7 +35,7 @@ void Sidebar::drawMetric(QPainter &p, const QString &label, const QString &val, Sidebar::Sidebar(QWidget *parent) : QFrame(parent) { home_img = QImage("../assets/images/button_home.png").scaled(180, 180, Qt::KeepAspectRatio, Qt::SmoothTransformation); - settings_img = QImage("../assets/images/button_settings.png").scaled(settings_btn.width(), settings_btn.height(), Qt::IgnoreAspectRatio, Qt::SmoothTransformation);; + settings_img = QImage("../assets/images/button_settings.png").scaled(settings_btn.width(), settings_btn.height(), Qt::IgnoreAspectRatio, Qt::SmoothTransformation); connect(this, &Sidebar::valueChanged, [=] { update(); });