pkg_hash: remove unused variable in pkg_hash_load_feeds()
authorJo-Philipp Wich <jo@mein.io>
Wed, 15 Mar 2017 00:16:23 +0000 (01:16 +0100)
committerJo-Philipp Wich <jo@mein.io>
Wed, 15 Mar 2017 00:42:49 +0000 (01:42 +0100)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
libopkg/pkg_hash.c

index 4de4bdf..8bb160f 100644 (file)
@@ -177,7 +177,7 @@ pkg_hash_add_from_file(const char *file_name,
 int pkg_hash_load_feeds(int state_flags)
 {
        pkg_src_list_elt_t *iter;
-       pkg_src_t *src, *subdist;
+       pkg_src_t *src;
        char *list_file, *lists_dir;
 
        opkg_msg(INFO, "\n");