mirror of https://github.com/PCSX2/pcsx2.git
PAD: Fix variable initializations.
Codacy Warning: Variable 'variable' is assigned in constructor body. Consider performing initialization in initialization list.
This commit is contained in:
parent
7c6a838d7f
commit
4439b3ad22
|
@ -23,8 +23,8 @@ static const s32 joy_check_id = wxID_HIGHEST + 100 + 3;
|
|||
JoystickConfiguration::JoystickConfiguration(int pad, bool left, wxWindow* parent)
|
||||
: wxDialog(parent, wxID_ANY, _T("Joystick configuration"), wxDefaultPosition, wxDefaultSize,
|
||||
wxSYSTEM_MENU | wxCAPTION | wxCLOSE_BOX | wxCLIP_CHILDREN)
|
||||
, m_pad_id(pad)
|
||||
{
|
||||
m_pad_id = pad;
|
||||
m_isForLeftJoystick = left;
|
||||
|
||||
wxBoxSizer* joy_conf_box = new wxBoxSizer(wxVERTICAL);
|
||||
|
|
Loading…
Reference in New Issue