summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--native/jni/native-lib/cpio.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 4f9fdfbce..9a0de1eef 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2007-12-10 Robert Schuster <robertschuster@fsfe.org>
+ * native/jni/native-lib/cpio.c:
+ (cpio_df): Mark arguments as possibly unused.
+
+2007-12-10 Robert Schuster <robertschuster@fsfe.org>
+
* javax/swing/text/GlyphView.java:
(paint): Removed debug output.
diff --git a/native/jni/native-lib/cpio.c b/native/jni/native-lib/cpio.c
index 52b45ad11..605bd7f99 100644
--- a/native/jni/native-lib/cpio.c
+++ b/native/jni/native-lib/cpio.c
@@ -400,7 +400,8 @@ int cpio_chmod (const char *filename, int permissions)
}
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;