summaryrefslogtreecommitdiff
path: root/lib/libalpm/be_files.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2008-05-13 19:03:54 -0500
committerDan McGee <dan@archlinux.org>2008-05-13 19:03:54 -0500
commitdd98aa8564a21ed43782704bf9feb5b2b114825f (patch)
tree685c35186dc19109865957abc5f384dd606d3df9 /lib/libalpm/be_files.c
parenta422f6e39c9c60b89269c2b09e697a9eb142b904 (diff)
downloadpacman-dd98aa8564a21ed43782704bf9feb5b2b114825f.tar.xz
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 <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/be_files.c')
-rw-r--r--lib/libalpm/be_files.c2
1 files changed, 1 insertions, 1 deletions
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);
}