From 860815313b6130227d1c9f29eb3b43f087a90938 Mon Sep 17 00:00:00 2001 From: Ollo Date: Sat, 23 Sep 2023 15:42:18 +0200 Subject: [PATCH] Handle unused variable --- simulation/VirtualLedBoard/mainwindow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/simulation/VirtualLedBoard/mainwindow.cpp b/simulation/VirtualLedBoard/mainwindow.cpp index b99fbab..da8445b 100644 --- a/simulation/VirtualLedBoard/mainwindow.cpp +++ b/simulation/VirtualLedBoard/mainwindow.cpp @@ -22,6 +22,7 @@ MainWindow::~MainWindow() } void MainWindow::drawImage(QImage *target) { + (void)target; /* handle unused variable ;-) */ this->mScene=new QGraphicsScene() ; QGraphicsView *graphicsView = new QGraphicsView(); graphicsView->setRenderHints(QPainter::Antialiasing | QPainter::SmoothPixmapTransform);