diff options
author | Dan McGee <dan@archlinux.org> | 2011-08-10 23:28:57 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-08-11 11:18:55 -0500 |
commit | 1f6afe6b0b3e1f222b5624e93af6e6272afea423 (patch) | |
tree | 007f14f7870892ca3e7764d248207c373dfe752d /lib/libalpm/remove.c | |
parent | ca41470462c3a674966e55be7186c5bdefbe6242 (diff) | |
download | pacman-1f6afe6b0b3e1f222b5624e93af6e6272afea423.tar.xz |
Dependency code style cleanups
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/remove.c')
-rw-r--r-- | lib/libalpm/remove.c | 6 |
1 files changed, 4 insertions, 2 deletions
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); } |