From d2c6c3cccbb9381d4cf030e4ac2d5a63dc3c4c79 Mon Sep 17 00:00:00 2001 From: Arch Librarian Date: Thu, 14 Jul 2005 13:05:18 +0000 Subject: [PATCH] 2002-09-09 Havoc Pennington Author: hp Date: 2002-09-10 02:59:21 GMT 2002-09-09 Havoc Pennington * pkg.c (fill_list_single_package): fix uninitialized variable, patch from Andrea Suatoni --- ChangeLog | 5 +++++ pkg.c | 1 + 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index dc3882d..4a80eb1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-09-09 Havoc Pennington + + * pkg.c (fill_list_single_package): fix uninitialized variable, + patch from Andrea Suatoni + 2002-09-06 Havoc Pennington * parse.c, pkg.c: handle other_libs other_cflags same diff --git a/pkg.c b/pkg.c index 499f320..3797efb 100644 --- a/pkg.c +++ b/pkg.c @@ -561,6 +561,7 @@ fill_list_single_package (Package *pkg, GetListFunc func, GSList *tmp; /* Get list of packages */ + packages = NULL; packages = g_slist_append (packages, pkg); recursive_fill_list (pkg, get_requires, &packages); -- 2.39.5