opkg: fixing some trivial defects while reviewing code
authorticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Mon, 15 Dec 2008 05:31:34 +0000 (05:31 +0000)
committerticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Mon, 15 Dec 2008 05:31:34 +0000 (05:31 +0000)
git-svn-id: http://opkg.googlecode.com/svn/trunk@165 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358

libopkg/opkg_cmd.c
libopkg/opkg_install.c

index f5d78da6970fd2d77d89700324fba4762fc83083..56649ea6dfd4808a36dccf484a1b9dabd5cc334f 100644 (file)
@@ -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];
index 01d5875ac549f2a49b3aaa66dbbabaec05b64386..aa17c9bb33bad3cefc84c030588933eb5d962623 100644 (file)
@@ -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;
 }
 
-\f
 
 static int check_conflicts_for(opkg_conf_t *conf, pkg_t *pkg)
 {