mirror of
https://github.com/aaru-dps/libaaruformat.git
synced 2025-12-16 19:24:40 +00:00
Initialize DDT header using aggregate initialization for clarity
This commit is contained in:
@@ -203,8 +203,7 @@ int aaruf_close(void *context)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Prepare DDT header for the cached table
|
// Prepare DDT header for the cached table
|
||||||
DdtHeader2 ddt_header;
|
DdtHeader2 ddt_header = {0};
|
||||||
memset(&ddt_header, 0, sizeof(DdtHeader2));
|
|
||||||
ddt_header.identifier = DeDuplicationTable2;
|
ddt_header.identifier = DeDuplicationTable2;
|
||||||
ddt_header.type = UserData;
|
ddt_header.type = UserData;
|
||||||
ddt_header.compression = None;
|
ddt_header.compression = None;
|
||||||
|
|||||||
Reference in New Issue
Block a user