summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2008-12-15 00:31:34 (EST)
committer ticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2008-12-15 00:31:34 (EST)
commit7c760fc01b4e62b571f5b296601c5798c758fb41 (patch)
treeca69c65a5edb6931568fa7e5185e6c45597ad8b1
parentfe09abec099fb3ab0e8c21f6ba90de8ecc6a016e (diff)
opkg: fixing some trivial defects while reviewing code
git-svn-id: http://opkg.googlecode.com/svn/trunk@165 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
-rw-r--r--libopkg/opkg_cmd.c2
-rw-r--r--libopkg/opkg_install.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/libopkg/opkg_cmd.c b/libopkg/opkg_cmd.c
index f5d78da..56649ea 100644
--- a/libopkg/opkg_cmd.c
+++ b/libopkg/opkg_cmd.c
@@ -812,7 +812,7 @@ static int opkg_info_status_cmd(opkg_conf_t *conf, int argc, char **argv, int in
char *pkg_name = NULL;
char **pkg_fields = NULL;
int n_fields = 0;
- char *buff ; // = (char *)malloc(1);
+ char *buff ;
if (argc > 0) {
pkg_name = argv[0];
diff --git a/libopkg/opkg_install.c b/libopkg/opkg_install.c
index 01d5875..aa17c9b 100644
--- a/libopkg/opkg_install.c
+++ b/libopkg/opkg_install.c
@@ -45,7 +45,6 @@ typedef void (*sighandler_t)(int);
#include "xsystem.h"
#include "user.h"
-int satisfy_dependencies_for(opkg_conf_t *conf, pkg_t *pkg);
static int verify_pkg_installable(opkg_conf_t *conf, pkg_t *pkg);
static int unpack_pkg_control_files(opkg_conf_t *conf, pkg_t *pkg);
@@ -399,7 +398,6 @@ int opkg_satisfy_all_dependences(opkg_conf_t *conf)
return 0;
}
-
static int check_conflicts_for(opkg_conf_t *conf, pkg_t *pkg)
{