Commit 0e0fdcd4 authored by Eric Cano's avatar Eric Cano
Browse files

Added missing initialization in test of inquiryCDB_t.

parent a7bcd591
......@@ -105,6 +105,7 @@ namespace UnitTests {
TEST(SCSI_Structures, inquiryCDB_t) {
SCSI::Structures::inquiryCDB_t inqCDB;
memset(&inqCDB, 0, sizeof(inqCDB));
unsigned char *buff = (unsigned char *)&inqCDB;
ASSERT_EQ(6, sizeof(inqCDB));
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment