From f14e45f93ed89e6b8571f561574f23ddcd94d77a Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Mon, 12 Feb 2024 14:23:54 -0500 Subject: [PATCH] Remove various instances of ';;'. --- Machines/Amiga/Amiga.cpp | 2 +- Machines/Apple/AppleIIgs/Sound.cpp | 2 +- Machines/Apple/Macintosh/DriveSpeedAccumulator.hpp | 2 +- OSBindings/SDL/main.cpp | 2 +- Processors/65816/Implementation/65816Implementation.hpp | 2 +- Reflection/Struct.cpp | 2 +- Storage/Disk/Encodings/MFM/Parser.cpp | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Machines/Amiga/Amiga.cpp b/Machines/Amiga/Amiga.cpp index acce943d3..834ec0058 100644 --- a/Machines/Amiga/Amiga.cpp +++ b/Machines/Amiga/Amiga.cpp @@ -221,7 +221,7 @@ class ConcreteMachine: // MARK: - MachineTypes::MouseMachine. Inputs::Mouse &get_mouse() final { - return chipset_.get_mouse();; + return chipset_.get_mouse(); } // MARK: - MachineTypes::JoystickMachine. diff --git a/Machines/Apple/AppleIIgs/Sound.cpp b/Machines/Apple/AppleIIgs/Sound.cpp index d52d6f3e3..84b0dda5c 100644 --- a/Machines/Apple/AppleIIgs/Sound.cpp +++ b/Machines/Apple/AppleIIgs/Sound.cpp @@ -108,7 +108,7 @@ uint8_t GLU::get_data() { switch(address & 0xe0) { case 0x00: return local_.oscillators[address & 0x1f].velocity & 0xff; - case 0x20: return local_.oscillators[address & 0x1f].velocity >> 8;; + case 0x20: return local_.oscillators[address & 0x1f].velocity >> 8; case 0x40: return local_.oscillators[address & 0x1f].volume; case 0x60: return local_.oscillators[address & 0x1f].sample(local_.ram_); // i.e. look up what the sample was on demand. case 0x80: return local_.oscillators[address & 0x1f].address; diff --git a/Machines/Apple/Macintosh/DriveSpeedAccumulator.hpp b/Machines/Apple/Macintosh/DriveSpeedAccumulator.hpp index 981f0b923..21a28066b 100644 --- a/Machines/Apple/Macintosh/DriveSpeedAccumulator.hpp +++ b/Machines/Apple/Macintosh/DriveSpeedAccumulator.hpp @@ -28,7 +28,7 @@ class DriveSpeedAccumulator { Sets the delegate to receive drive speed changes. */ void set_delegate(Delegate *delegate) { - delegate_ = delegate;; + delegate_ = delegate; } private: diff --git a/OSBindings/SDL/main.cpp b/OSBindings/SDL/main.cpp index 1da6e2c8f..17657e81c 100644 --- a/OSBindings/SDL/main.cpp +++ b/OSBindings/SDL/main.cpp @@ -562,7 +562,7 @@ int main(int argc, char *argv[]) { } std::cout << "." << std::endl << std::endl; - std::cout << "Further machine options:" << std::endl << std::endl;; + std::cout << "Further machine options:" << std::endl << std::endl; const auto targets = Machine::TargetsByMachineName(false); const auto runtime_options = Machine::AllOptionsByMachineName(); diff --git a/Processors/65816/Implementation/65816Implementation.hpp b/Processors/65816/Implementation/65816Implementation.hpp index be8492f77..6dd58d050 100644 --- a/Processors/65816/Implementation/65816Implementation.hpp +++ b/Processors/65816/Implementation/65816Implementation.hpp @@ -793,7 +793,7 @@ template void Processor bool Reflection::set(Struct &target, const std::string &name, bool v if(!target_type) return false; if(*target_type == typeid(bool)) { - target.set(name, &value, offset);; + target.set(name, &value, offset); } return false; diff --git a/Storage/Disk/Encodings/MFM/Parser.cpp b/Storage/Disk/Encodings/MFM/Parser.cpp index 7f3a848e7..b6ad3a58a 100644 --- a/Storage/Disk/Encodings/MFM/Parser.cpp +++ b/Storage/Disk/Encodings/MFM/Parser.cpp @@ -37,7 +37,7 @@ void Parser::install_track(const Storage::Disk::Track::Address &address) { // Just try all three in succession. append(parse_track(*track, Density::Single), sectors_by_id); append(parse_track(*track, Density::Double), sectors_by_id); - append(parse_track(*track, Density::High), sectors_by_id);; + append(parse_track(*track, Density::High), sectors_by_id); } sectors_by_address_by_track_.emplace(address, std::move(sectors_by_id));