Hi, this patch marks the parameters of cpio_df as possibly unused and silents the warning/lets the build continue with -Wall.
Ok to commit? 2007-11-06 Robert Schuster <[EMAIL PROTECTED]> * native/jni/native-lib/cpio.c: (cpio_df): Mark parameters as (possibly) unused. Regards Robert
Index: native/jni/native-lib/cpio.c
===================================================================
RCS file: /sources/classpath/classpath/native/jni/native-lib/cpio.c,v
retrieving revision 1.9
diff -u -r1.9 cpio.c
--- native/jni/native-lib/cpio.c 6 Nov 2007 13:38:39 -0000 1.9
+++ native/jni/native-lib/cpio.c 7 Nov 2007 21:09:13 -0000
@@ -400,7 +400,7 @@
}
JNIEXPORT long long
-cpio_df (const char *path, CPFILE_DF_TYPE type)
+cpio_df (__attribute__((unused)) const char *path, __attribute__((unused)) CPFILE_DF_TYPE type)
{
long long result = 0L;
signature.asc
Description: OpenPGP digital signature
