summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2010-11-11 14:33:01 +0200
committerPanu Matilainen <pmatilai@redhat.com>2010-11-11 14:34:15 +0200
commit9c095fa87846bc268142cbaed325098e12e027ea (patch)
treeefdf99913918a9a4a22cf0933723a3bb1e42be75 /lib
parent481caa8cf9c0d623e97b262916f2aae8fd1d7623 (diff)
downloadlibrpm-tizen-9c095fa87846bc268142cbaed325098e12e027ea.tar.gz
librpm-tizen-9c095fa87846bc268142cbaed325098e12e027ea.tar.bz2
librpm-tizen-9c095fa87846bc268142cbaed325098e12e027ea.zip
Remove superfluous dbiSync() call (refactoring thinko or such)
Diffstat (limited to 'lib')
-rw-r--r--lib/rpmdb.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/rpmdb.c b/lib/rpmdb.c
index 3e933c24e..1cbc97b24 100644
--- a/lib/rpmdb.c
+++ b/lib/rpmdb.c
@@ -2378,7 +2378,6 @@ static int updatePackages(dbiIndex dbi, unsigned int hdrNum, DBT *hdr)
} else
rc = dbiDel(dbi, dbcursor, &key, &data, 0);
}
- xx = dbiSync(dbi, 0);
xx = dbiCclose(dbi, dbcursor, DB_WRITECURSOR);
xx = dbiSync(dbi, 0);