From 7498a86abebf0eb9a039765833c06d424b93262a Mon Sep 17 00:00:00 2001 From: elsid Date: Mon, 5 Jul 2021 13:11:54 +0200 Subject: [PATCH] Remove redundant semicolons --- apps/benchmarks/detournavigator/navmeshtilescache.cpp | 2 +- apps/opencs/model/doc/runner.cpp | 2 +- apps/opencs/view/world/scriptsubview.cpp | 2 +- apps/openmw/mwstate/statemanagerimp.cpp | 2 +- extern/osg-ffmpeg-videoplayer/videostate.cpp | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/benchmarks/detournavigator/navmeshtilescache.cpp b/apps/benchmarks/detournavigator/navmeshtilescache.cpp index 2c7a981ad5..d39161fda2 100644 --- a/apps/benchmarks/detournavigator/navmeshtilescache.cpp +++ b/apps/benchmarks/detournavigator/navmeshtilescache.cpp @@ -69,7 +69,7 @@ namespace AreaType generateAreaType(Random& random) { std::uniform_int_distribution distribution(0, 4); - return toAreaType(distribution(random));; + return toAreaType(distribution(random)); } template diff --git a/apps/opencs/model/doc/runner.cpp b/apps/opencs/model/doc/runner.cpp index ccdff1444f..8dafbaf5ae 100644 --- a/apps/opencs/model/doc/runner.cpp +++ b/apps/opencs/model/doc/runner.cpp @@ -78,7 +78,7 @@ void CSMDoc::Runner::start (bool delayed) else arguments << "--new-game=1"; - arguments << ("--script-run="+mStartup->fileName());; + arguments << ("--script-run="+mStartup->fileName()); arguments << QString::fromUtf8 (("--data=\""+mProjectPath.parent_path().string()+"\"").c_str()); diff --git a/apps/opencs/view/world/scriptsubview.cpp b/apps/opencs/view/world/scriptsubview.cpp index 6eab7aaa53..6b07f2ea71 100644 --- a/apps/opencs/view/world/scriptsubview.cpp +++ b/apps/opencs/view/world/scriptsubview.cpp @@ -109,7 +109,7 @@ CSVWorld::ScriptSubView::ScriptSubView (const CSMWorld::UniversalId& id, CSMDoc: sizes << 1 << 0; mMain->setSizes (sizes); - QWidget *widget = new QWidget (this);; + QWidget *widget = new QWidget (this); widget->setLayout (&mLayout); setWidget (widget); diff --git a/apps/openmw/mwstate/statemanagerimp.cpp b/apps/openmw/mwstate/statemanagerimp.cpp index ffef9d74a9..b242862772 100644 --- a/apps/openmw/mwstate/statemanagerimp.cpp +++ b/apps/openmw/mwstate/statemanagerimp.cpp @@ -217,7 +217,7 @@ void MWState::StateManager::saveGame (const std::string& description, const Slot profile.mTimePlayed = mTimePlayed; profile.mDescription = description; - Log(Debug::Info) << "Making a screenshot for saved game '" << description << "'";; + Log(Debug::Info) << "Making a screenshot for saved game '" << description << "'"; writeScreenshot(profile.mScreenshot); if (!slot) diff --git a/extern/osg-ffmpeg-videoplayer/videostate.cpp b/extern/osg-ffmpeg-videoplayer/videostate.cpp index 7b4060753e..7fcad33697 100644 --- a/extern/osg-ffmpeg-videoplayer/videostate.cpp +++ b/extern/osg-ffmpeg-videoplayer/videostate.cpp @@ -524,7 +524,7 @@ public: uint64_t seek_target = self->mSeekPos; int streamIndex = -1; - int videoStreamIndex = -1;; + int videoStreamIndex = -1; int audioStreamIndex = -1; if (self->video_st) videoStreamIndex = self->video_st - self->format_ctx->streams;