1
0
mirror of https://github.com/moparisthebest/pacman synced 2025-02-28 17:31:52 -05:00

Well that silly memory clobber was plain old "uninitialized data" - fixed

This commit is contained in:
Aaron Griffin 2007-01-30 08:35:40 +00:00
parent 958a838189
commit 2119467392

View File

@ -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) {