@@ -4217,7 +4217,6 @@ def ReadFileHeaderDataWithContent(fp, listonly=False, uncompress=True, skipcheck
42174217 if(not hasattr(fp, "read")):
42184218 return False
42194219 delimiter = formatspecs['format_delimiter']
4220- fheaderstart = fp.tell()
42214220 if(formatspecs['new_style']):
42224221 HeaderOut = ReadFileHeaderDataBySize(fp, delimiter)
42234222 else:
@@ -4294,8 +4293,6 @@ def ReadFileHeaderDataWithContent(fp, listonly=False, uncompress=True, skipcheck
42944293 fname + " at offset " + str(fheaderstart))
42954294 VerbosePrintOut("'" + fcs + "' != " + "'" + newfcs + "'")
42964295 return False
4297- fhend = fp.tell() - 1
4298- fcontentstart = fp.tell()
42994296 fcontents = MkTempFile()
43004297 if(fsize > 0 and not listonly):
43014298 if(fcompression == "none" or fcompression == "" or fcompression == "auto"):
@@ -4327,7 +4324,6 @@ def ReadFileHeaderDataWithContent(fp, listonly=False, uncompress=True, skipcheck
43274324 shutil.copyfileobj(cfcontents, fcontents, length=__filebuff_size__)
43284325 cfcontents.close()
43294326 fcontents.seek(0, 0)
4330- fcontentend = fp.tell()
43314327 if(re.findall("^\\+([0-9]+)", fseeknextfile)):
43324328 fseeknextasnum = int(fseeknextfile.replace("+", ""))
43334329 if(abs(fseeknextasnum) == 0):
0 commit comments