mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 06:34:36 +00:00
Merge pull request #1214 from bpay/cppcheck-cleaning
Fix some issues flagged by cppcheck
This commit is contained in:
commit
497a15cfd0
38 changed files with 96 additions and 42 deletions
|
|
@ -41,7 +41,7 @@ protected:
|
|||
S32 mSelectedOption; ///< Index into mOptions pointing at the selected option
|
||||
bool mWrapOptions; ///< Determines if options should "wrap around" at the ends
|
||||
|
||||
Row()
|
||||
Row() : mSelectedOption(0), mWrapOptions(false)
|
||||
{
|
||||
VECTOR_SET_ASSOCIATION( mOptions );
|
||||
}
|
||||
|
|
|
|||
|
|
@ -905,7 +905,7 @@ ConsoleDocClass( DICreateUndoAction,
|
|||
"@internal");
|
||||
|
||||
DICreateUndoAction::DICreateUndoAction( const UTF8* actionName )
|
||||
: UndoAction( actionName )
|
||||
: UndoAction( actionName ), mEditor(0), mDatablockId(0)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
@ -993,7 +993,7 @@ ConsoleDocClass( DIDeleteUndoAction,
|
|||
"@internal");
|
||||
|
||||
DIDeleteUndoAction::DIDeleteUndoAction( const UTF8 *actionName )
|
||||
: UndoAction( actionName )
|
||||
: UndoAction( actionName ), mEditor(0), mDatablockId(0)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
@ -1081,7 +1081,7 @@ ConsoleDocClass( DBDeleteUndoAction,
|
|||
"@internal");
|
||||
|
||||
DBDeleteUndoAction::DBDeleteUndoAction( const UTF8 *actionName )
|
||||
: UndoAction( actionName )
|
||||
: UndoAction( actionName ), mEditor(0), mDatablockId(0)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
@ -1190,7 +1190,7 @@ ConsoleDocClass( DBRetargetUndoAction,
|
|||
"@internal");
|
||||
|
||||
DBRetargetUndoAction::DBRetargetUndoAction( const UTF8 *actionName )
|
||||
: UndoAction( actionName )
|
||||
: UndoAction( actionName ), mEditor(0), mDBFromId(0), mDBToId(0)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue