diff options
author | mkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-02-01 20:05:03 +0000 |
---|---|---|
committer | mkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-02-01 20:05:03 +0000 |
commit | 1857f8d79f7ee98d5bb14a3ee1b0849f4b305707 (patch) | |
tree | 8d9a40b71171dcb730488ad9eff4126661a42704 /libjava/include | |
parent | 7e9c2584ed6e904367ea2e32ae0b0039b5115711 (diff) | |
download | gcc-1857f8d79f7ee98d5bb14a3ee1b0849f4b305707.tar.gz |
2004-02-01 Michael Koch <konqueror@gmx.de>
* include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
arguments.
* jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
* verify.cc (debug_print): Mark 'fmt' unused.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77079 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/include')
-rw-r--r-- | libjava/include/jvm.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libjava/include/jvm.h b/libjava/include/jvm.h index e1a5c33bbc6..ee7792b0788 100644 --- a/libjava/include/jvm.h +++ b/libjava/include/jvm.h @@ -30,6 +30,9 @@ details. */ #include <gcj/cni.h> #include <gcj/field.h> +/* Macro for possible unused arguments. */ +#define MAYBE_UNUSED __attribute__((__unused__)) + /* Structure of the virtual table. */ struct _Jv_VTable { |