removed extra error messages

CVS patchset: 188
CVS date: 1996/01/09 21:51:07
This commit is contained in:
ewt 1996-01-09 21:51:07 +00:00
parent 15a0018629
commit 5a289cef0c
1 changed files with 0 additions and 4 deletions

View File

@ -45,7 +45,6 @@ int rpmdbOpen (char * prefix, rpmdb *rpmdbp, int mode, int perms) {
db.nameIndex = openDBIndex(filename, mode, 0644);
if (!db.nameIndex) {
faClose(db.pkgs);
error(RPMERR_DBOPEN, "failed to open %s\n", filename);
return 0;
}
@ -55,7 +54,6 @@ int rpmdbOpen (char * prefix, rpmdb *rpmdbp, int mode, int perms) {
if (!db.fileIndex) {
faClose(db.pkgs);
closeDBIndex(db.nameIndex);
error(RPMERR_DBOPEN, "failed to open %s\n", filename);
return 0;
}
@ -65,8 +63,6 @@ int rpmdbOpen (char * prefix, rpmdb *rpmdbp, int mode, int perms) {
if (!db.groupIndex) {
faClose(db.pkgs);
closeDBIndex(db.nameIndex);
closeDBIndex(db.fileIndex);
error(RPMERR_DBOPEN, "failed to open %s\n", filename);
return 0;
}