From 5438a3f72f87fde7413834554dca57b3444913b4 Mon Sep 17 00:00:00 2001
From: Alessandro Portale <aportale@trolltech.com>
Date: Mon, 13 Jul 2009 18:55:11 +0200
Subject: [PATCH] Missed some unused ';' after Q_UNUSED

---
 .../pluginmanager/circularplugins/plugin1/plugin1.cpp     | 4 ++--
 src/plugins/fakevim/fakevimplugin.cpp                     | 8 ++++----
 src/plugins/texteditor/plaintexteditor.cpp                | 2 +-
 src/shared/scriptwrapper/interface_wrap_helpers.h         | 2 +-
 4 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/libs/extensionsystem/test/auto/pluginmanager/circularplugins/plugin1/plugin1.cpp b/src/libs/extensionsystem/test/auto/pluginmanager/circularplugins/plugin1/plugin1.cpp
index 5d0b739a946..917e5b19cf6 100644
--- a/src/libs/extensionsystem/test/auto/pluginmanager/circularplugins/plugin1/plugin1.cpp
+++ b/src/libs/extensionsystem/test/auto/pluginmanager/circularplugins/plugin1/plugin1.cpp
@@ -39,8 +39,8 @@ MyPlugin1::MyPlugin1()
 
 bool MyPlugin1::initialize(const QStringList &arguments, QString *errorString)
 {
-    Q_UNUSED(arguments);
-    Q_UNUSED(errorString);
+    Q_UNUSED(arguments)
+    Q_UNUSED(errorString)
     return true;
 }
 
diff --git a/src/plugins/fakevim/fakevimplugin.cpp b/src/plugins/fakevim/fakevimplugin.cpp
index cfa8c818148..5703033d5a0 100644
--- a/src/plugins/fakevim/fakevimplugin.cpp
+++ b/src/plugins/fakevim/fakevimplugin.cpp
@@ -383,7 +383,7 @@ void FakeVimPluginPrivate::windowCommand(int key)
 
 void FakeVimPluginPrivate::find(bool reverse)
 {
-    Q_UNUSED(reverse);  // TODO: Creator needs an action for find in reverse.
+    Q_UNUSED(reverse)  // TODO: Creator needs an action for find in reverse.
     triggerAction(Find::Constants::FIND_IN_DOCUMENT);
 }
 
@@ -485,7 +485,7 @@ void FakeVimPluginPrivate::triggerCompletions()
 void FakeVimPluginPrivate::writeFile(bool *handled,
     const QString &fileName, const QString &contents)
 {
-    Q_UNUSED(contents);
+    Q_UNUSED(contents)
 
     FakeVimHandler *handler = qobject_cast<FakeVimHandler *>(sender());
     if (!handler)
@@ -684,8 +684,8 @@ FakeVimPlugin::~FakeVimPlugin()
 
 bool FakeVimPlugin::initialize(const QStringList &arguments, QString *errorMessage)
 {
-    Q_UNUSED(arguments);
-    Q_UNUSED(errorMessage);
+    Q_UNUSED(arguments)
+    Q_UNUSED(errorMessage)
     return d->initialize();
 }
 
diff --git a/src/plugins/texteditor/plaintexteditor.cpp b/src/plugins/texteditor/plaintexteditor.cpp
index dea5d72b5b6..bb32908e55b 100644
--- a/src/plugins/texteditor/plaintexteditor.cpp
+++ b/src/plugins/texteditor/plaintexteditor.cpp
@@ -96,7 +96,7 @@ const char *PlainTextEditorEditable::kind() const
 
 void PlainTextEditor::indentBlock(QTextDocument *doc, QTextBlock block, QChar typedChar)
 {
-    Q_UNUSED(typedChar);
+    Q_UNUSED(typedChar)
 
     // At beginning: Leave as is.
     if (block == doc->begin())
diff --git a/src/shared/scriptwrapper/interface_wrap_helpers.h b/src/shared/scriptwrapper/interface_wrap_helpers.h
index 284e34e26ca..1075d316af0 100644
--- a/src/shared/scriptwrapper/interface_wrap_helpers.h
+++ b/src/shared/scriptwrapper/interface_wrap_helpers.h
@@ -80,7 +80,7 @@ static void registerQObjectInterface(QScriptEngine &engine)
         qObjectInterfaceToScriptValue<QObjectInterface>,
         scriptValueToQObjectInterface<QObjectInterface>,
         scriptProtoType);
-    Q_UNUSED(metaTypeId);
+    Q_UNUSED(metaTypeId)
 }
 
 } // namespace SharedTools
-- 
GitLab