diff options
author | hjk <hjk@qt.io> | 2019-07-23 10:58:00 +0200 |
---|---|---|
committer | hjk <hjk@qt.io> | 2019-07-23 11:55:59 +0000 |
commit | 251287f0d35dd82e68dabed8214ef8af893aff91 (patch) | |
tree | a3ba843c1c23f4aea06bc01bf7ab0dd69d6fc741 /src/plugins/fakevim | |
parent | 2b26eca80f9ebcdc2f1dc0d890a39a4fbc2d129c (diff) |
Avoid warning on empty expressions
For some reason, Q_UNUSED includes already a semicolon, adding one
on the user side creates an additional empty statement.
Change-Id: I9c5e8fac381345a60792cb75e2938fd53958d3b0
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/fakevim')
-rw-r--r-- | src/plugins/fakevim/fakevimhandler.cpp | 2 | ||||
-rw-r--r-- | src/plugins/fakevim/fakevimplugin.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/fakevim/fakevimhandler.cpp b/src/plugins/fakevim/fakevimhandler.cpp index adb77c7c0d..e8f622df8d 100644 --- a/src/plugins/fakevim/fakevimhandler.cpp +++ b/src/plugins/fakevim/fakevimhandler.cpp @@ -8263,7 +8263,7 @@ void FakeVimHandler::Private::selectWORDTextObject(bool inner) void FakeVimHandler::Private::selectSentenceTextObject(bool inner) { - Q_UNUSED(inner); + Q_UNUSED(inner) } void FakeVimHandler::Private::selectParagraphTextObject(bool inner) diff --git a/src/plugins/fakevim/fakevimplugin.cpp b/src/plugins/fakevim/fakevimplugin.cpp index bb73e18141..c5e4dcca96 100644 --- a/src/plugins/fakevim/fakevimplugin.cpp +++ b/src/plugins/fakevim/fakevimplugin.cpp @@ -970,7 +970,7 @@ public: void setActive(const QString &needle, bool forward, FakeVimHandler *handler) { - Q_UNUSED(forward); + Q_UNUSED(forward) m_handler = handler; if (!m_handler) return; |