From 1f6afe6b0b3e1f222b5624e93af6e6272afea423 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Wed, 10 Aug 2011 23:28:57 -0500 Subject: Dependency code style cleanups Signed-off-by: Dan McGee --- lib/libalpm/remove.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'lib/libalpm/remove.c') diff --git a/lib/libalpm/remove.c b/lib/libalpm/remove.c index 3c19c90a..0afa2656 100644 --- a/lib/libalpm/remove.c +++ b/lib/libalpm/remove.c @@ -141,7 +141,8 @@ int _alpm_remove_prepare(alpm_handle_t *handle, alpm_list_t **data) alpm_trans_t *trans = handle->trans; alpm_db_t *db = handle->db_local; - if((trans->flags & ALPM_TRANS_FLAG_RECURSE) && !(trans->flags & ALPM_TRANS_FLAG_CASCADE)) { + if((trans->flags & ALPM_TRANS_FLAG_RECURSE) + && !(trans->flags & ALPM_TRANS_FLAG_CASCADE)) { _alpm_log(handle, ALPM_LOG_DEBUG, "finding removable dependencies\n"); _alpm_recursedeps(db, trans->remove, trans->flags & ALPM_TRANS_FLAG_RECURSEALL); @@ -180,7 +181,8 @@ int _alpm_remove_prepare(alpm_handle_t *handle, alpm_list_t **data) trans->remove = lp; /* -Rcs == -Rc then -Rs */ - if((trans->flags & ALPM_TRANS_FLAG_CASCADE) && (trans->flags & ALPM_TRANS_FLAG_RECURSE)) { + if((trans->flags & ALPM_TRANS_FLAG_CASCADE) + && (trans->flags & ALPM_TRANS_FLAG_RECURSE)) { _alpm_log(handle, ALPM_LOG_DEBUG, "finding removable dependencies\n"); _alpm_recursedeps(db, trans->remove, trans->flags & ALPM_TRANS_FLAG_RECURSEALL); } -- cgit v1.2.3-24-g4f1b