From 49408130df7b3470c3baf5b904f982cbc29d5b24 Mon Sep 17 00:00:00 2001 From: Martyn Gigg Date: Fri, 7 Feb 2014 15:39:58 +0000 Subject: [PATCH] Remove unused variable in ScriptingWindow, fixing cppcheck issue. Refs #8940 --- Code/Mantid/MantidPlot/src/ScriptingWindow.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Code/Mantid/MantidPlot/src/ScriptingWindow.cpp b/Code/Mantid/MantidPlot/src/ScriptingWindow.cpp index ded08d31cfa5..a92aea2ef1cd 100755 --- a/Code/Mantid/MantidPlot/src/ScriptingWindow.cpp +++ b/Code/Mantid/MantidPlot/src/ScriptingWindow.cpp @@ -160,7 +160,6 @@ void ScriptingWindow::showEvent(QShowEvent *event) */ void ScriptingWindow::open(const QString & filename, bool newtab) { - std::string file = filename.toStdString(); m_manager->open(newtab, filename); } @@ -657,4 +656,4 @@ QStringList ScriptingWindow::extractPyFiles(const QList& urlList) const } } return filenames; -} \ No newline at end of file +}