summaryrefslogtreecommitdiff
path: root/src/pacman
diff options
context:
space:
mode:
Diffstat (limited to 'src/pacman')
-rw-r--r--src/pacman/sync.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/pacman/sync.c b/src/pacman/sync.c
index 5c480009..85ab03b9 100644
--- a/src/pacman/sync.c
+++ b/src/pacman/sync.c
@@ -397,9 +397,6 @@ int pacman_sync(list_t *targets)
if(sync_synctree(pmc_syncs)) {
return(1);
}
- if(targets == NULL) {
- return(0);
- }
}
if(pmo_s_search) {