diff --git a/cpp/test/primary_device_test.cpp b/cpp/test/primary_device_test.cpp index 7ad6070e..aa259860 100644 --- a/cpp/test/primary_device_test.cpp +++ b/cpp/test/primary_device_test.cpp @@ -167,17 +167,17 @@ TEST(PrimaryDeviceTest, ModeSelect) TEST(PrimaryDeviceTest, ModeSense6) { MockPrimaryDevice device(0); - vector v; + vector buf; - EXPECT_EQ(0, device.ModeSense6( { }, v)); + EXPECT_EQ(0, device.ModeSense6( { }, buf)); } TEST(PrimaryDeviceTest, ModeSense10) { MockPrimaryDevice device(0); - vector v; + vector buf; - EXPECT_EQ(0, device.ModeSense10( { }, v)); + EXPECT_EQ(0, device.ModeSense10( { }, buf)); } TEST(PrimaryDeviceTest, TestUnitReady)