[Scummvm-git-logs] scummvm master -> 2e3f4619fbb943798ce23e1b73c1134a65a297fd

eriktorbjorn noreply at scummvm.org
Thu Feb 8 20:20:15 UTC 2024


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
2e3f4619fb JANITORIA: Remove redundant semicolons


Commit: 2e3f4619fbb943798ce23e1b73c1134a65a297fd
    https://github.com/scummvm/scummvm/commit/2e3f4619fbb943798ce23e1b73c1134a65a297fd
Author: Torbjörn Andersson (eriktorbjorn at users.sourceforge.net)
Date: 2024-02-08T21:20:02+01:00

Commit Message:
JANITORIA: Remove redundant semicolons

Changed paths:
    engines/ags/engine/ac/sys_events.cpp
    engines/gob/save/saveload_adibou1.cpp
    engines/hpl1/engine/graphics/ParticleEmitter2D.cpp
    engines/hpl1/engine/libraries/newton/physics/dgBroadPhaseCollision.cpp
    engines/saga2/intrface.cpp


diff --git a/engines/ags/engine/ac/sys_events.cpp b/engines/ags/engine/ac/sys_events.cpp
index 7a0d46bc9ce..abcc7d8c165 100644
--- a/engines/ags/engine/ac/sys_events.cpp
+++ b/engines/ags/engine/ac/sys_events.cpp
@@ -188,7 +188,7 @@ eAGSMouseButton ags_mgetbutton() {
 		_G(pluginSimulatedClick) = kMouseNone;
 		return mbut;
 	}
-	return mgetbutton();;
+	return mgetbutton();
 }
 
 void ags_mouse_acquire_relxy(int &x, int &y) {
diff --git a/engines/gob/save/saveload_adibou1.cpp b/engines/gob/save/saveload_adibou1.cpp
index a0f2f1a527c..69fa1eb5b92 100644
--- a/engines/gob/save/saveload_adibou1.cpp
+++ b/engines/gob/save/saveload_adibou1.cpp
@@ -162,7 +162,7 @@ SaveLoad_Adibou1::DrawingWithThumbnailHandler::~DrawingWithThumbnailHandler() {
 
 int32 SaveLoad_Adibou1::DrawingWithThumbnailHandler::getSize() {
 	if (!_reader)
-		return -1;;
+		return -1;
 
 	if (!_reader->load())
 		return -1;
diff --git a/engines/hpl1/engine/graphics/ParticleEmitter2D.cpp b/engines/hpl1/engine/graphics/ParticleEmitter2D.cpp
index 8ceadc676cb..95479476184 100644
--- a/engines/hpl1/engine/graphics/ParticleEmitter2D.cpp
+++ b/engines/hpl1/engine/graphics/ParticleEmitter2D.cpp
@@ -132,7 +132,7 @@ namespace hpl {
 
 	void iParticleSystem2D::RenderParticles(eMaterialRenderType aRenderType, unsigned int &aIdxAdd)
 	{
-		unsigned int lFrame =0;;
+		unsigned int lFrame =0;
 		if(mvMaterials->size()>1){
 			lFrame = (int)mfFrame;
 			if(lFrame>=mvMaterials->size())lFrame = (unsigned int)mvMaterials->size()-1;
diff --git a/engines/hpl1/engine/libraries/newton/physics/dgBroadPhaseCollision.cpp b/engines/hpl1/engine/libraries/newton/physics/dgBroadPhaseCollision.cpp
index af309b03f4e..84b0b16ddcf 100644
--- a/engines/hpl1/engine/libraries/newton/physics/dgBroadPhaseCollision.cpp
+++ b/engines/hpl1/engine/libraries/newton/physics/dgBroadPhaseCollision.cpp
@@ -413,7 +413,7 @@ void dgBroadPhaseCollision::InvalidateCache() {
 			cell->m_active = 1;
 			cell->m_lastSortArray = &cell->m_sort[0];
 			//          cell->m_sort[0].InvalidateCache();
-			//          cell->m_sort[1].InvalidateCache();;
+			//          cell->m_sort[1].InvalidateCache();
 			//          cell->m_sort[2].InvalidateCache();
 		}
 	}
diff --git a/engines/saga2/intrface.cpp b/engines/saga2/intrface.cpp
index 421bce8f528..1964170e482 100644
--- a/engines/saga2/intrface.cpp
+++ b/engines/saga2/intrface.cpp
@@ -1773,7 +1773,7 @@ uint16 getWeightRatio(GameObject *obj, uint16 &maxRatio, bool bReturnMaxRatio =
 	uint16 maxWeight;
 
 	// get the mass capacity for this container
-	maxWeight = obj->massCapacity();;
+	maxWeight = obj->massCapacity();
 
 	// get the total mass this container is holding
 	weight = obj->totalContainedMass();




More information about the Scummvm-git-logs mailing list