diff options
Diffstat (limited to 'lib/package.c')
-rw-r--r-- | lib/package.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/package.c b/lib/package.c index 7de09769f..0dd037d32 100644 --- a/lib/package.c +++ b/lib/package.c @@ -581,17 +581,9 @@ int rpmReadPackageFile(rpmts ts, FD_t fd, memset(l, 0, sizeof(*l)); if (readLead(fd, l)) { - rpmError(RPMERR_READLEAD, _("%s: readLead failed\n"), fn); - goto exit; - } - -/*@-boundsread@*/ - if (l->magic[0] != RPMLEAD_MAGIC0 || l->magic[1] != RPMLEAD_MAGIC1 - || l->magic[2] != RPMLEAD_MAGIC2 || l->magic[3] != RPMLEAD_MAGIC3) { rc = RPMRC_NOTFOUND; goto exit; } -/*@=boundsread@*/ switch (l->major) { case 1: |