Fix some GCC 7 warnings:

* dynamic exception specifications are deprecated [-Wdeprecated]
* this statement may fall through [-Wimplicit-fallthrough=]
This commit is contained in:
Mateusz Skowroński
2017-11-26 19:29:08 +01:00
committed by wmayer
parent 7812099f33
commit dee8769d0e
59 changed files with 241 additions and 236 deletions

View File

@@ -624,6 +624,7 @@ int DrawingPlane::keyboardEvent(const SoKeyboardEvent * const)
void DrawingPlane::drawLineTo(const QPoint &endPoint)
{
Q_UNUSED(endPoint);
return;
#if !defined(HAVE_QT5_OPENGL)
QPainter painter(fbo);