1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-11-16 06:15:08 -05:00

fixed a segfault w/ the skiplist

This commit is contained in:
Judd Vinet 2005-10-09 04:25:04 +00:00
parent 995057bcda
commit 9a4719d3c5

View File

@ -191,7 +191,7 @@ error:
int add_prepare(pmtrans_t *trans, pmdb_t *db, PMList **data) int add_prepare(pmtrans_t *trans, pmdb_t *db, PMList **data)
{ {
PMList *lp; PMList *lp;
PMList *skiplist; PMList *skiplist = NULL;
ASSERT(trans != NULL, RET_ERR(PM_ERR_TRANS_NULL, -1)); ASSERT(trans != NULL, RET_ERR(PM_ERR_TRANS_NULL, -1));
ASSERT(db != NULL, RET_ERR(PM_ERR_DB_NULL, -1)); ASSERT(db != NULL, RET_ERR(PM_ERR_DB_NULL, -1));