From df095ad14d4217ab3223862f3a6b9a2134c709b2 Mon Sep 17 00:00:00 2001 From: graham.gower Date: Thu, 10 Dec 2009 22:04:53 -0500 Subject: Remove args_t and cleanup unused stuff. git-svn-id: http://opkg.googlecode.com/svn/trunk@484 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358 --- (limited to 'libopkg/opkg.c') diff --git a/libopkg/opkg.c b/libopkg/opkg.c index 383dfb5..7f9862b 100644 --- a/libopkg/opkg.c +++ b/libopkg/opkg.c @@ -20,7 +20,6 @@ #include "opkg.h" #include "opkg_conf.h" -#include "args.h" #include "opkg_install.h" #include "opkg_configure.h" @@ -115,15 +114,9 @@ curl_progress_cb(struct _curl_cb_data *cb_data, double t, /* dltotal */ int opkg_new() { - args_t args; - - args_init(&args); - - if (opkg_conf_init(&args)) + if (opkg_conf_init()) goto err0; - args_deinit(&args); - if (pkg_hash_load_feeds()) goto err1; -- cgit v0.9.1