1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-03-16 16:20:53 +00:00

Merge branch 'rm_semicolons' into 'master'

Remove redundant semicolons

See merge request OpenMW/openmw!996
This commit is contained in:
Alexei Dobrohotov 2021-07-05 12:09:52 +00:00
commit 15965972f4
5 changed files with 5 additions and 5 deletions

View File

@ -69,7 +69,7 @@ namespace
AreaType generateAreaType(Random& random)
{
std::uniform_int_distribution<int> distribution(0, 4);
return toAreaType(distribution(random));;
return toAreaType(distribution(random));
}
template <typename OutputIterator, typename Random>

View File

@ -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());

View File

@ -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);

View File

@ -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)

View File

@ -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;