Clean up rpmdbOpenIndex() logic a bit, no functional changes
authorPanu Matilainen <pmatilai@redhat.com>
Wed, 20 Oct 2010 09:13:33 +0000 (12:13 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Wed, 20 Oct 2010 09:13:33 +0000 (12:13 +0300)
commitbf8cfe884bf24f531f9b318bc8288951a07802c9
tree784075caed181fb036f1a98d1fbe1bdb9bee004a
parent5fe4da6e40452304539bb1ecb2bb050717812593
Clean up rpmdbOpenIndex() logic a bit, no functional changes
- dbi is guaranteed to be NULL on non-zero return from dbiOpen(),
  dont bother triple-checking and freeing NULLs
- rearrange the success case a bit to pave way for other things that
  we'll want to do here
lib/rpmdb.c