From f4340129d59377b32a7be64e09f71cb8faa3ac07 Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Wed, 31 Jan 2007 04:42:39 +0000 Subject: More uninitialized stuff... I believe these were removed at some point. Should be fixed. --- src/pacman/add.c | 2 +- src/pacman/remove.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/pacman/add.c b/src/pacman/add.c index 64e5264d..111ea9de 100644 --- a/src/pacman/add.c +++ b/src/pacman/add.c @@ -38,7 +38,7 @@ extern config_t *config; int pacman_add(alpm_list_t *targets) { - alpm_list_t *i = targets, *data; + alpm_list_t *i = targets, *data = NULL; int retval = 0; if(targets == NULL) { diff --git a/src/pacman/remove.c b/src/pacman/remove.c index 94ee66a2..77e29d68 100644 --- a/src/pacman/remove.c +++ b/src/pacman/remove.c @@ -39,7 +39,7 @@ extern pmdb_t *db_local; 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; if(targets == NULL) { -- cgit v1.2.3