Core: Join some variable declarations and assignments

This commit is contained in:
Lioncash
2014-11-15 20:21:35 -05:00
parent 43b8749c60
commit 3eab75bc9c
4 changed files with 5 additions and 12 deletions

View File

@ -260,12 +260,8 @@ IWII_IPC_HLE_Device* AccessDeviceByID(u32 _ID)
IWII_IPC_HLE_Device* CreateFileIO(u32 _DeviceID, const std::string& _rDeviceName)
{
// scan device name and create the right one
IWII_IPC_HLE_Device* pDevice = nullptr;
INFO_LOG(WII_IPC_FILEIO, "IOP: Create FileIO %s", _rDeviceName.c_str());
pDevice = new CWII_IPC_HLE_Device_FileIO(_DeviceID, _rDeviceName);
return pDevice;
return new CWII_IPC_HLE_Device_FileIO(_DeviceID, _rDeviceName);
}