index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Aaron Griffin <aaron@archlinux.org> | 2007-01-30 08:35:40 +0000 |
---|---|---|
committer | Aaron Griffin <aaron@archlinux.org> | 2007-01-30 08:35:40 +0000 |
commit | 211946739260ad8f6af1f99784c14fca97bf866f (patch) | |
tree | 44645e4d1e76819acf157f7571cf86c52c66391f /src | |
parent | 958a83818954ffd28056d470d96ab5a99cbfe416 (diff) |
-rw-r--r-- | src/pacman/sync.c | 2 |
diff --git a/src/pacman/sync.c b/src/pacman/sync.c index 36bc22f5..26d10bc2 100644 --- a/src/pacman/sync.c +++ b/src/pacman/sync.c @@ -405,7 +405,7 @@ int pacman_sync(alpm_list_t *targets) { int confirm = 0; int retval = 0; - alpm_list_t *packages, *data, *i, *j, *k, *sync_dbs; + alpm_list_t *packages, *data = NULL, *i, *j, *k, *sync_dbs; sync_dbs = alpm_option_get_syncdbs(); if(sync_dbs == NULL || alpm_list_count(sync_dbs) == 0) { |