Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/db.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-07-18 20:30:28 -0500
committerDan McGee <dan@archlinux.org>2011-07-18 21:06:24 -0500
commit05f7c0280e31d25e0b9b5c5cca349eb93e24f04f (patch)
treeaa23c8a2d774c1ec1a68b2ea94d1c4849336de4f /lib/libalpm/db.c
parentf1d25ba2dd2640054b8e2e1c7c39669abb0cc6e8 (diff)
Fix test suite when GPGME is disabled
As noted by Allan, we failed pretty hard if gpgme was compiled out. With these changes, only sign001.py fails. This can/will be fixed later once we beef up the test suite with more signing tests anyway. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/db.c')
-rw-r--r--lib/libalpm/db.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/libalpm/db.c b/lib/libalpm/db.c
index 0c2b26aa..746293ff 100644
--- a/lib/libalpm/db.c
+++ b/lib/libalpm/db.c
@@ -327,7 +327,6 @@ alpm_db_t *_alpm_db_new(const char *treename, int is_local)
CALLOC(db, 1, sizeof(alpm_db_t), return NULL);
STRDUP(db->treename, treename, return NULL);
db->is_local = is_local;
- db->siglevel = 0;
return db;
}