index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2011-03-20 19:56:55 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-03-20 19:56:55 -0500 |
commit | bdc1508a068af7d9fb3d401922c0f2d8b012d8dc (patch) | |
tree | f0fd2b563f6a3f20dba168169087ceb6d106846c /lib/libalpm/be_local.c | |
parent | 67c0e9cab39a536f1ca2fbf2a35fe898e3b71ef4 (diff) |
-rw-r--r-- | lib/libalpm/be_local.c | 2 |
diff --git a/lib/libalpm/be_local.c b/lib/libalpm/be_local.c index c3461b77..c13dffb4 100644 --- a/lib/libalpm/be_local.c +++ b/lib/libalpm/be_local.c @@ -995,10 +995,10 @@ pmdb_t *_alpm_db_register_local(void) _alpm_log(PM_LOG_DEBUG, "registering local database\n"); db = _alpm_db_new("local", 1); - db->ops = &local_db_ops; if(db == NULL) { RET_ERR(PM_ERR_DB_CREATE, NULL); } + db->ops = &local_db_ops; handle->db_local = db; return(db); |