From 1e740acabf5b8da6f39bc0b50525fe6a7b9444e7 Mon Sep 17 00:00:00 2001 From: Guilherme Brondani Torri Date: Fri, 2 Oct 2015 16:47:22 +0200 Subject: [PATCH] qucs-lib: silence warning about unused variable --- qucs/qucs-lib/qucslib.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qucs/qucs-lib/qucslib.cpp b/qucs/qucs-lib/qucslib.cpp index bc960a76ca..39d0cfb04f 100644 --- a/qucs/qucs-lib/qucslib.cpp +++ b/qucs/qucs-lib/qucslib.cpp @@ -233,6 +233,7 @@ void QucsLib::slotQuit() tmp = y(); // ... set them correctly before closing the ... tmp = width(); // dialog !!! Otherwise the frame of the window ... tmp = height(); // will not be recognized (a X11 problem). + Q_UNUSED(tmp); qApp->quit(); } @@ -245,6 +246,7 @@ void QucsLib::closeEvent(QCloseEvent *Event) tmp = y(); // ... set them correctly before closing the ... tmp = width(); // dialog !!! Otherwise the frame of the window ... tmp = height(); // will not be recognized (a X11 problem). + Q_UNUSED(tmp); Event->accept(); }