diff options
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 | |
parent | 958a83818954ffd28056d470d96ab5a99cbfe416 (diff) | |
download | pacman-211946739260ad8f6af1f99784c14fca97bf866f.tar.xz |
Well that silly memory clobber was plain old "uninitialized data" - fixed
-rw-r--r-- | src/pacman/sync.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |