Remove superfluous dbiSync() call (refactoring thinko or such)
authorPanu Matilainen <pmatilai@redhat.com>
Thu, 11 Nov 2010 12:33:01 +0000 (14:33 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Thu, 11 Nov 2010 12:34:15 +0000 (14:34 +0200)
lib/rpmdb.c

index 3e933c2..1cbc97b 100644 (file)
@@ -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);