Fix valgrind complaint
This commit is contained in:
2
gpt.cc
2
gpt.cc
@@ -80,6 +80,7 @@ GPTData::GPTData(void) {
|
||||
beQuiet = 0;
|
||||
whichWasUsed = use_new;
|
||||
mainHeader.numParts = 0;
|
||||
mainHeader.lastUsableLBA = 0;
|
||||
numParts = 0;
|
||||
SetGPTSize(NUM_GPT_ENTRIES);
|
||||
// Initialize CRC functions...
|
||||
@@ -143,6 +144,7 @@ GPTData::GPTData(string filename) {
|
||||
beQuiet = 0;
|
||||
whichWasUsed = use_new;
|
||||
mainHeader.numParts = 0;
|
||||
mainHeader.lastUsableLBA = 0;
|
||||
numParts = 0;
|
||||
// Initialize CRC functions...
|
||||
chksum_crc32gentab();
|
||||
|
||||
Reference in New Issue
Block a user