diff options
author | Rod Smith <rodsmith@rodsbooks.com> | 2022-04-10 11:09:19 -0400 |
---|---|---|
committer | Rod Smith <rodsmith@rodsbooks.com> | 2022-04-10 11:09:19 -0400 |
commit | 8ff360f49eda175142e01d46edbb494cfebe309d (patch) | |
tree | 21a0f9656c1826a5b607a4b3d4d7feab983c2858 | |
parent | d37658e3503d9722400bdc11ba1764786042aca8 (diff) | |
download | gptfdisk-8ff360f49eda175142e01d46edbb494cfebe309d.tar.gz |
Fix valgrind complaint
-rw-r--r-- | gpt.cc | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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(); |