summaryrefslogtreecommitdiff
path: root/lib/rpmdb.c
diff options
context:
space:
mode:
authorewt <devnull@localhost>1996-01-09 21:51:07 +0000
committerewt <devnull@localhost>1996-01-09 21:51:07 +0000
commit5a289cef0c3e452296965e540dc12a941b038148 (patch)
treee6f4a519dae831db1f24f3c5cb5a8594458c582c /lib/rpmdb.c
parent15a0018629880ffd2677543f631e01f9a241c543 (diff)
downloadlibrpm-tizen-5a289cef0c3e452296965e540dc12a941b038148.tar.gz
librpm-tizen-5a289cef0c3e452296965e540dc12a941b038148.tar.bz2
librpm-tizen-5a289cef0c3e452296965e540dc12a941b038148.zip
removed extra error messages
CVS patchset: 188 CVS date: 1996/01/09 21:51:07
Diffstat (limited to 'lib/rpmdb.c')
-rw-r--r--lib/rpmdb.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/rpmdb.c b/lib/rpmdb.c
index e6ed8ab44..9883c6d3d 100644
--- a/lib/rpmdb.c
+++ b/lib/rpmdb.c
@@ -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;
}