Removed a unused variable warning
authorpixdamix <pixdamix@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Wed, 28 Oct 2009 21:00:56 +0000 (21:00 +0000)
committerpixdamix <pixdamix@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Wed, 28 Oct 2009 21:00:56 +0000 (21:00 +0000)
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

index e31c49c478354dd804faf56c2697befa8163b36d..7dc965b3ac97c8c319ea7904e0c68073ac7b7f16 100644 (file)
@@ -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
 }