Commits

Victor Stinner committed 0c3fdf3

hachoir-parser: remove unused variables

Comments (0)

Files changed (2)

hachoir-parser/hachoir_parser/archive/rar.py

         self._size = 8*self["block_size"].value
         if t == 0x74 or t == 0x7A:
             self._size += 8*self["compressed_size"].value
-            flags = self["flags"]
             if "is_large" in self["flags"] and self["flags/is_large"].value:
                 self._size += 8*self["large_size"].value
         elif "has_added_size" in self:

hachoir-parser/hachoir_parser/misc/msoffice.py

         chain = ole2.getChain(start, True)
         blocksize = ole2.ss_size
         desc_format = "Small blocks %s..%s (%s)"
-        fragment_group = None
         while True:
             try:
                 block = chain.next()