Remove invalid and unused header_len variable

This commit is contained in:
Youness Alaoui 2017-09-29 16:10:19 -04:00
parent fa94786f65
commit 184ac81541

View file

@ -539,9 +539,6 @@ if __name__ == "__main__":
entries = unpack("<I", f.read(4))[0]
print("Found {} partition(s)".format(entries))
f.seek(me_start + 0x14)
header_len = unpack("B", f.read(1))[0]
f.seek(me_start + 0x30)
partitions = f.read(entries * 0x20)