diff --git a/proprietary/DiskImage/Partition/GPT.cs b/proprietary/DiskImage/Partition/GPT.cs index 89ebf502b..5ef628bf9 100644 --- a/proprietary/DiskImage/Partition/GPT.cs +++ b/proprietary/DiskImage/Partition/GPT.cs @@ -200,9 +200,7 @@ public class GPT : IPartitionTable if (m_partitions != null) return false; - m_partitions = []; - - if (m_rawDisk == null || !m_parsed) + if (!m_parsed) return false; // Calculate the byte offset for the partition entries