summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAurelien Foret <aurelien@archlinux.org>2005-05-01 17:19:31 +0000
committerAurelien Foret <aurelien@archlinux.org>2005-05-01 17:19:31 +0000
commita73427fc0bc8c00ed3e6478ac57ac048cec4afdd (patch)
tree15d61cb22707316ab73ea484dc6acadc3c51395a /src
parentbeda47fd22d204ba7f79ccab5251ed13c3faf82d (diff)
downloadpacman-a73427fc0bc8c00ed3e6478ac57ac048cec4afdd.tar.xz
removed an uneeded check
Diffstat (limited to 'src')
-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) {