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(); }