summaryrefslogtreecommitdiff
path: root/native
diff options
context:
space:
mode:
authorRobert Schuster <theBohemian@gmx.net>2007-12-10 16:10:22 +0000
committerRobert Schuster <theBohemian@gmx.net>2007-12-10 16:10:22 +0000
commit3434285884f7d132950e6dab717bb22ab2018fc8 (patch)
tree9cef4c0f5b50ae5017837a5b642e4180502fcc83 /native
parent3d972545a8e8a8ab5c16ebca45da04c5b235c727 (diff)
downloadclasspath-3434285884f7d132950e6dab717bb22ab2018fc8.tar.gz
2007-12-10 Robert Schuster <robertschuster@fsfe.org>
* native/jni/native-lib/cpio.c: (cpio_df): Mark arguments as possibly unused.
Diffstat (limited to 'native')
-rw-r--r--native/jni/native-lib/cpio.c3
1 files changed, 2 insertions, 1 deletions
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;