Skip to content

Commit

Permalink
Remove dead code.
Browse files Browse the repository at this point in the history
Coverity CID 1616051
  • Loading branch information
0-wiz-0 committed Aug 5, 2024
1 parent b1b35b0 commit 6ed56b7
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/zip_open.c
Original file line number Diff line number Diff line change
Expand Up @@ -302,10 +302,6 @@ _zip_read_cdir(zip_t *za, zip_buffer_t *buffer, zip_uint64_t buf_offset, zip_err
}
}

if (cd == NULL) {
return NULL;
}

if (cd->eocd_disk != 0 || cd->this_disk != 0) {
zip_error_set(error, ZIP_ER_MULTIDISK, 0);
_zip_cdir_free(cd);
Expand Down

0 comments on commit 6ed56b7

Please sign in to comment.