summaryrefslogtreecommitdiffstats
path: root/opkg_download.c
diff options
context:
space:
mode:
authorticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2008-12-14 23:19:18 (EST)
committer ticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2008-12-14 23:19:18 (EST)
commit19fbc4d6da1cc3f83c54a48815ad029d3d5d0f6f (patch)
tree59da4e512d338e3ac15cc108838fb2136ea84ceb /opkg_download.c
parent1f047463e6714515aa100d881cbd49d8114e8c6f (diff)
opkg: fix some compiler warnings
git-svn-id: http://opkg.googlecode.com/svn/trunk@15 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
Diffstat (limited to 'opkg_download.c')
-rw-r--r--opkg_download.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/opkg_download.c b/opkg_download.c
index fcc5294..8195e51 100644
--- a/opkg_download.c
+++ b/opkg_download.c
@@ -79,7 +79,6 @@ int opkg_download(opkg_conf_t *conf, const char *src, const char *dest_file_name
char *src_basec = strdup(src);
char *src_base = basename(src_basec);
char *tmp_file_location;
- char *cmd;
opkg_message(conf,OPKG_NOTICE,"Downloading %s\n", src);
@@ -245,7 +244,7 @@ int opkg_prepare_url_for_install(opkg_conf_t *conf, const char *url, char **name
if (err)
return err;
pkg->local_filename = strdup(url);
- opkg_message(conf, OPKG_DEBUG2, "Package %s provided by hand \(%s\).\n", pkg->name,pkg->local_filename);
+ opkg_message(conf, OPKG_DEBUG2, "Package %s provided by hand (%s).\n", pkg->name,pkg->local_filename);
pkg->provided_by_hand = 1;
} else {