Skip to content

Commit

Permalink
Remove unused variable in ScriptingWindow, fixing cppcheck issue.
Browse files Browse the repository at this point in the history
Refs #8940
  • Loading branch information
martyngigg committed Feb 7, 2014
1 parent 2c80cf9 commit 4940813
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Code/Mantid/MantidPlot/src/ScriptingWindow.cpp
Expand Up @@ -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);
}

Expand Down Expand Up @@ -657,4 +656,4 @@ QStringList ScriptingWindow::extractPyFiles(const QList<QUrl>& urlList) const
}
}
return filenames;
}
}

0 comments on commit 4940813

Please sign in to comment.