summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-06-13 17:43:09 -0500
committerDan McGee <dan@archlinux.org>2011-06-13 17:43:11 -0500
commitc5761bfe4121616a19f9a175d28731a60c3c7868 (patch)
treed7d3100caf13cee0ef4ed6f898139dcf7d45c237 /lib
parentff7ad5fd7376c133bc646c4d69d06019e0b64044 (diff)
downloadpacman-c5761bfe4121616a19f9a175d28731a60c3c7868.tar.xz
Fix all current return(x) usages
A few of these snuck in as of late, some from the table display patches that were using the previous format before we changed it after the 3.5.X major release. Noticed-by: Kerrick Staley <mail@kerrickstaley.com> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/libalpm/db.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libalpm/db.c b/lib/libalpm/db.c
index 8156f2ac..36cda72b 100644
--- a/lib/libalpm/db.c
+++ b/lib/libalpm/db.c
@@ -128,7 +128,7 @@ alpm_list_t SYMEXPORT *alpm_db_get_servers(const pmdb_t *db)
/* Sanity checks */
ASSERT(db != NULL, RET_ERR(PM_ERR_DB_NULL, NULL));
- return(db->servers);
+ return db->servers;
}
/** Set the serverlist of a database. */
@@ -222,7 +222,7 @@ int SYMEXPORT alpm_db_set_pgp_verify(pmdb_t *db, pgp_verify_t verify)
_alpm_log(PM_LOG_DEBUG, "adding VerifySig option to database '%s': %d\n",
db->treename, verify);
- return(0);
+ return 0;
}
/** Get the name of a package database. */