PAD: Fix variable initializations.

Codacy Warning: Variable 'variable' is assigned in constructor body. Consider performing initialization in initialization list.
This commit is contained in:
lightningterror 2022-08-26 14:04:55 +02:00
parent 7c6a838d7f
commit 4439b3ad22
1 changed files with 1 additions and 1 deletions

View File

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