mirror of
https://github.com/akuker/RASCSI.git
synced 2025-07-24 13:24:24 +00:00
SonarCloud coverage setup, fixed numerous SonarCloud issues (#840)
* SonarCloud coverage setup, fixed numerous SonarCloud issues * Code cleanup
This commit is contained in:
@@ -15,7 +15,7 @@ TEST(ControllerManagerTest, ControllerManager)
|
||||
const int ID = 4;
|
||||
const int LUN = 6;
|
||||
|
||||
PrimaryDevice *device = static_cast<PrimaryDevice *>(device_factory.CreateDevice(UNDEFINED, "services", ID));
|
||||
auto device = static_cast<PrimaryDevice *>(device_factory.CreateDevice(UNDEFINED, "services", ID));
|
||||
device->SetId(ID);
|
||||
device->SetLun(LUN);
|
||||
|
||||
|
Reference in New Issue
Block a user