Skip to content

Commit a1be619

Browse files
authored
refactor: Remove double semicolons (#1810)
1 parent af0ba62 commit a1be619

File tree

42 files changed

+54
-54
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+54
-54
lines changed

Core/GameEngineDevice/Source/W3DDevice/GameClient/W3DVideoBuffer.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ Bool W3DVideoBuffer::allocate( UnsignedInt width, UnsignedInt height )
120120

121121
m_width = width;
122122
m_height = height;
123-
m_textureWidth = width;;
124-
m_textureHeight = height;;
123+
m_textureWidth = width;
124+
m_textureHeight = height;
125125
unsigned int temp_depth=1;
126126
TextureLoader::Validate_Texture_Size( m_textureWidth, m_textureHeight, temp_depth);
127127

Core/Libraries/Source/WWVegas/WWAudio/LogicalSound.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ LogicalSoundClass::On_Frame_Update (unsigned int milliseconds)
171171
// Update the sound's position if its linked to a render object
172172
//
173173
Apply_Auto_Position ();
174-
return SoundSceneObjClass::On_Frame_Update (milliseconds);;
174+
return SoundSceneObjClass::On_Frame_Update (milliseconds);
175175
}
176176

177177

Core/Libraries/Source/WWVegas/WWLib/thread.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ ThreadClass::ThreadClass(const char *thread_name, ExceptionHandlerType exception
3737
size_t nameLen = strlcpy(ThreadName, thread_name, ARRAY_SIZE(ThreadName));
3838
(void)nameLen; assert(nameLen < ARRAY_SIZE(ThreadName));
3939
} else {
40-
strcpy(ThreadName, "No name");;
40+
strcpy(ThreadName, "No name");
4141
}
4242

4343
ExceptionHandler = exception_handler;

Core/Libraries/Source/WWVegas/WWMath/obbox.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ OBBoxClass::OBBoxClass(const Vector3 * /*points*/, int /*n*/)
7979
int i;
8080

8181
// compute mean and covariances of points
82-
float xsum = 0.0f, ysum = 0.0f, zsum = 0.0f;;
82+
float xsum = 0.0f, ysum = 0.0f, zsum = 0.0f;
8383
float xxsum = 0.0f, xysum = 0.0f, xzsum = 0.0f;
8484
float yysum = 0.0f, yzsum = 0.0f, zzsum = 0.0f;
8585

Core/Tools/Autorun/GameText.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ void GameTextManager::removeLeadingAndTrailing ( Char *buffer )
441441

442442
while ( (*ptr++ = *first++) != 0 );
443443

444-
ptr -= 2;;
444+
ptr -= 2;
445445

446446
while ( (ptr > buffer) && (ch = *ptr) != 0 && iswspace ( ch ) )
447447
{

Core/Tools/Babylon/BabylonDlg.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ static void removeLeadingAndTrailing ( char *buffer )
133133

134134
while ( *ptr++ = *first++ );
135135

136-
ptr -= 2;;
136+
ptr -= 2;
137137

138138
while ( (ptr > buffer) && (ch = *ptr) && iswspace ( ch ) )
139139
{
@@ -330,7 +330,7 @@ BOOL CBabylonDlg::OnInitDialog()
330330
#endif
331331

332332

333-
Ready();;
333+
Ready();
334334

335335
PostMessage ( WM_COMMAND, MAKEWPARAM ( IDC_RELOAD, BN_CLICKED ));
336336

Core/Tools/ImagePacker/Source/WindowProcedures/ImagePackerProc.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ BOOL CALLBACK ImagePackerProc( HWND hWndDialog, UINT message,
289289
// get the directory listbox
290290
folderList = GetDlgItem( hWndDialog, LIST_FOLDERS );
291291
if( folderList == NULL )
292-
break;;
292+
break;
293293

294294
// get the selected item in the folder listbox
295295
Int selCount;

Generals/Code/GameEngine/Include/GameLogic/Module/RailroadGuideAIUpdate.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ class RailroadBehavior : public PhysicsBehavior
211211
};
212212

213213
typedef std::vector<AsciiString> TemplateNameVector;
214-
typedef TemplateNameVector::const_iterator TemplateNameIterator;;
214+
typedef TemplateNameVector::const_iterator TemplateNameIterator;
215215

216216

217217

Generals/Code/GameEngine/Source/Common/RTS/Player.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3724,7 +3724,7 @@ void Player::xfer( Xfer *xfer )
37243724
{
37253725

37263726
DEBUG_CRASH(( "Player::xfer - m_ai present/missing mismatch" ));
3727-
throw SC_INVALID_DATA;;
3727+
throw SC_INVALID_DATA;
37283728

37293729
}
37303730
if( m_ai )

Generals/Code/GameEngine/Source/GameClient/GUI/ControlBar/ControlBarCommand.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -875,7 +875,7 @@ const Image* ControlBar::calculateVeterancyOverlayForThing( const ThingTemplate
875875
case LEVEL_HEROIC:
876876
return m_rankHeroicIcon;
877877
}
878-
return NULL;;
878+
return NULL;
879879
}
880880

881881
//-------------------------------------------------------------------------------------------------
@@ -897,7 +897,7 @@ const Image* ControlBar::calculateVeterancyOverlayForObject( const Object *obj )
897897
case LEVEL_HEROIC:
898898
return m_rankHeroicIcon;
899899
}
900-
return NULL;;
900+
return NULL;
901901
}
902902

903903
//-------------------------------------------------------------------------------------------------

0 commit comments

Comments
 (0)