1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-11-17 06:45:05 -05:00

More uninitialized stuff... I believe these were removed at some point. Should

be fixed.
This commit is contained in:
Aaron Griffin 2007-01-31 04:42:39 +00:00
parent 44dc48f10f
commit f4340129d5
2 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ extern config_t *config;
int pacman_add(alpm_list_t *targets) int pacman_add(alpm_list_t *targets)
{ {
alpm_list_t *i = targets, *data; alpm_list_t *i = targets, *data = NULL;
int retval = 0; int retval = 0;
if(targets == NULL) { if(targets == NULL) {

View File

@ -39,7 +39,7 @@ extern pmdb_t *db_local;
int pacman_remove(alpm_list_t *targets) int pacman_remove(alpm_list_t *targets)
{ {
alpm_list_t *data, *i, *j, *finaltargs = NULL; alpm_list_t *data = NULL, *i, *j, *finaltargs = NULL;
int retval = 0; int retval = 0;
if(targets == NULL) { if(targets == NULL) {