Commit b3ff928b authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh
Browse files

VCS: Remove unused local variables



Change-Id: I72076d632ffd0b49e9e54dab27368a43787a36a3
Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
parent 60cc8180
......@@ -82,9 +82,6 @@ QList<CvsLogEntry> parseLogEntries(const QString &o,
ParseState state = FileState;
const QString workingFilePrefix = QLatin1String("Working file: ");
const QString revisionPrefix = QLatin1String("revision ");
const QString statusPrefix = QLatin1String("date: ");
const QString commitId = QLatin1String("commitid: ");
QRegExp statusPattern = QRegExp(QLatin1String("^date: ([\\d\\-]+) .*commitid: ([^;]+);$"));
QRegExp revisionPattern = QRegExp(QLatin1String("^revision ([\\d\\.]+)$"));
const QChar slash = QLatin1Char('/');
......
......@@ -719,7 +719,6 @@ void PerforcePlugin::annotate(const QString &workingDir,
if (!result.error) {
if (lineNumber < 1)
lineNumber = VcsBase::VcsBaseEditorWidget::lineNumberOfCurrentEditor();
const QFileInfo fi(fileName);
Core::IEditor *ed = showOutputInEditor(tr("p4 annotate %1").arg(id),
result.stdOut, VcsBase::AnnotateOutput,
source, codec);
......
......@@ -938,7 +938,6 @@ void SubversionPlugin::describe(const QString &source, const QString &changeNr)
// Re-use an existing view if possible to support
// the common usage pattern of continuously changing and diffing a file
const QString id = diffArg + source;
const QString tag = VcsBase::VcsBaseEditorWidget::editorTag(VcsBase::DiffOutput, source, QStringList(), changeNr);
if (Core::IEditor *editor = VcsBase::VcsBaseEditorWidget::locateEditorByTag(tag)) {
editor->document()->setContents(description.toUtf8());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment