From 0c20db8d108c4123fcc3ecb343759e68567a4d4e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 26 Nov 2018 00:51:57 +0300 Subject: Remove extra ; from different code. --- src/input/inputmanager.cpp | 2 +- src/input/joystick.cpp | 2 +- src/input/touch/touchmanager.cpp | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src/input') diff --git a/src/input/inputmanager.cpp b/src/input/inputmanager.cpp index a9a0fc29f..3e32621a1 100644 --- a/src/input/inputmanager.cpp +++ b/src/input/inputmanager.cpp @@ -906,7 +906,7 @@ bool InputManager::executeChatCommand(const std::string &restrict cmd, { reportAlways("Unknown chat command: /%s %s", cmd.c_str(), - args.c_str()); + args.c_str()) } return false; } diff --git a/src/input/joystick.cpp b/src/input/joystick.cpp index 91e21dc1c..4f7c6e9aa 100644 --- a/src/input/joystick.cpp +++ b/src/input/joystick.cpp @@ -227,7 +227,7 @@ void Joystick::logic() doCalibration(); BLOCK_END("Joystick::logic") return; - }; + } if (!mEnabled || !mCalibrated) { diff --git a/src/input/touch/touchmanager.cpp b/src/input/touch/touchmanager.cpp index 95fcd26f6..8195a4640 100644 --- a/src/input/touch/touchmanager.cpp +++ b/src/input/touch/touchmanager.cpp @@ -200,7 +200,7 @@ void TouchManager::clear() restrict2 FOR_EACH (TouchItemVectorCIter, it, mObjects) unload(*it); mObjects.clear(); - delete2(mVertexes); + delete2(mVertexes) mRedraw = true; } @@ -394,7 +394,7 @@ void TouchManager::unload(TouchItem *restrict const item) if (item->images != nullptr) { Theme::unloadRect(*item->images, 0, 8); - delete2(item->images); + delete2(item->images) if (item->icon != nullptr) { item->icon->decRef(); @@ -647,7 +647,7 @@ void TouchManager::loadButtons() restrict2 nullptr, nullptr, nullptr, nullptr); break; } - }; + } theme->unload(skin); } } -- cgit v1.2.3-70-g09d2