From 26e659c660b69b5ecdd1bd6f6bf85520211b810e Mon Sep 17 00:00:00 2001 From: pixdamix Date: Wed, 28 Oct 2009 21:00:56 +0000 Subject: [PATCH] Removed a unused variable warning When compiled without openssl nor gpg signature verification opkg build fail due to 3 unused variable and -Werror git-svn-id: http://opkg.googlecode.com/svn/trunk@226 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358 --- libopkg/opkg_download.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libopkg/opkg_download.c b/libopkg/opkg_download.c index e31c49c..7dc965b 100644 --- a/libopkg/opkg_download.c +++ b/libopkg/opkg_download.c @@ -447,6 +447,10 @@ verify_file_end: return status; #else + /* mute `unused variable' warnings. */ + (void) sig_file; + (void) text_file; + (void) conf; return 0; #endif } -- 2.25.1