From: ticktock35 Date: Mon, 15 Dec 2008 05:21:12 +0000 (+0000) Subject: opkg.c moving the sig_file_name into the section of HAVE_GPGME X-Git-Url: https://git.librecmc.org/?p=oweals%2Fopkg-lede.git;a=commitdiff_plain;h=53737805077d2f83df7d030cb4e43e7a9be8aed1 opkg.c moving the sig_file_name into the section of HAVE_GPGME git-svn-id: http://opkg.googlecode.com/svn/trunk@127 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358 --- diff --git a/libopkg/opkg.c b/libopkg/opkg.c index 8ff8075..69dba4e 100644 --- a/libopkg/opkg.c +++ b/libopkg/opkg.c @@ -750,7 +750,7 @@ opkg_update_package_lists (opkg_t *opkg, opkg_progress_callback_t progress_callb for (iter = opkg->conf->pkg_src_list.head; iter; iter = iter->next) { - char *url, *list_file_name = NULL, *sig_file_name = NULL; + char *url, *list_file_name = NULL; src = iter->data; @@ -808,6 +808,7 @@ opkg_update_package_lists (opkg_t *opkg, opkg_progress_callback_t progress_callb free (url); #ifdef HAVE_GPGME + char *sig_file_name; /* download detached signitures to verify the package lists */ /* get the url for the sig file */ if (src->extra_data) /* debian style? */