From dd98aa8564a21ed43782704bf9feb5b2b114825f Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Tue, 13 May 2008 19:03:54 -0500 Subject: Simplify _alpm_pkg_new() Any real call of this function doesn't specify a name or version ahead of time, so just kill that functionality off. Now to remove those dummy packages... Signed-off-by: Dan McGee --- lib/libalpm/be_files.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libalpm/be_files.c') diff --git a/lib/libalpm/be_files.c b/lib/libalpm/be_files.c index 256a7d0c..65196e99 100644 --- a/lib/libalpm/be_files.c +++ b/lib/libalpm/be_files.c @@ -298,7 +298,7 @@ int _alpm_db_populate(pmdb_t *db) continue; } - pkg = _alpm_pkg_new(NULL, NULL); + pkg = _alpm_pkg_new(); if(pkg == NULL) { return(-1); } -- cgit v1.2.3