summaryrefslogtreecommitdiffstats
path: root/src/pacman/add.c
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2007-01-31 05:42:39 +0100
committerAaron Griffin <aaron@archlinux.org>2007-01-31 05:42:39 +0100
commitf4340129d59377b32a7be64e09f71cb8faa3ac07 (patch)
treee82c9a43a0044e5570c576cd8407d1b352ba5181 /src/pacman/add.c
parent44dc48f10f2040053ae01f17f4f18bf49a9a4180 (diff)
downloadpacman-f4340129d59377b32a7be64e09f71cb8faa3ac07.tar.gz
pacman-f4340129d59377b32a7be64e09f71cb8faa3ac07.tar.xz
More uninitialized stuff... I believe these were removed at some point. Should
be fixed.
Diffstat (limited to 'src/pacman/add.c')
-rw-r--r--src/pacman/add.c2
1 files changed, 1 insertions, 1 deletions
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) {