mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Remove unused variable.
This commit is contained in:
parent
0106e1dd20
commit
032fffefe6
1 changed files with 1 additions and 2 deletions
|
@ -655,7 +655,7 @@ read_directory(char *archive)
|
|||
PyObject *files = NULL;
|
||||
FILE *fp;
|
||||
long compress, crc, data_size, file_size, file_offset, date, time;
|
||||
long header_offset, name_size, header_size, header_end;
|
||||
long header_offset, name_size, header_size;
|
||||
long i, l, length, count;
|
||||
char path[MAXPATHLEN + 5];
|
||||
char name[MAXPATHLEN + 5];
|
||||
|
@ -675,7 +675,6 @@ read_directory(char *archive)
|
|||
return NULL;
|
||||
}
|
||||
fseek(fp, -22, SEEK_END);
|
||||
header_end = ftell(fp);
|
||||
if (fread(endof_central_dir, 1, 22, fp) != 22) {
|
||||
fclose(fp);
|
||||
PyErr_Format(ZipImportError, "can't read Zip file: "
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue