From d17dda3f9f8d62ed4c6d477c08093763dd2a728d Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Fri, 27 Jan 2017 14:49:20 +0200 Subject: [PATCH] Clang warning. --HG-- branch : develop --- src/app/valentina/mainwindow.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/app/valentina/mainwindow.cpp b/src/app/valentina/mainwindow.cpp index 801df66a2..25f2e1090 100644 --- a/src/app/valentina/mainwindow.cpp +++ b/src/app/valentina/mainwindow.cpp @@ -1138,8 +1138,6 @@ void MainWindow::ClosedDialogPiecePath(int result) SCASSERT(dialogTool != nullptr); if (result == QDialog::Accepted) { - DialogPiecePath *dialog = qobject_cast(dialogTool); - SCASSERT(dialog != nullptr); VToolPiecePath::Create(dialogTool, sceneDetails, doc, pattern); } ArrowTool();