OSDN Git Service

* gnu/classpath/jdwp/natVMFrame.cc: Mark unused parameters with
authorkseitz <kseitz@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 19 Jan 2007 17:46:57 +0000 (17:46 +0000)
committerkseitz <kseitz@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 19 Jan 2007 17:46:57 +0000 (17:46 +0000)
        MAYBE_UNUSED.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120972 138bc75d-0d04-0410-961f-82ee72b054a4

libjava/ChangeLog
libjava/gnu/classpath/jdwp/natVMFrame.cc

index 6bdb8b8..74ebbac 100644 (file)
@@ -3,6 +3,9 @@
        * gnu/classpath/jdwp/natVMVirtualMachine.cc: Mark unused parameters
        in methods and reformat.
 
+       * gnu/classpath/jdwp/natVMFrame.cc: Mark unused parameters with
+       MAYBE_UNUSED.
+
 2007-01-18  Keith Seitz  <keiths@redhat.com>
 
        From Macro Trudel <mtrudel@gmx.ch>:
index de3b844..0c00852 100644 (file)
@@ -1,6 +1,6 @@
 // natFrame.cc -- native support for VMFrame.java
 
-/* Copyright (C) 2006 Free Software Foundation
+/* Copyright (C) 2006, 2007 Free Software Foundation
 
    This file is part of libgcj.
 
@@ -9,18 +9,20 @@ Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
 details. */
 
 #include <gcj/cni.h>
+#include <jvm.h>
 
 #include <gnu/classpath/jdwp/VMFrame.h>
 
 using namespace java::lang;
 
 Object*
-gnu::classpath::jdwp::VMFrame::getValue (jint slot)
+gnu::classpath::jdwp::VMFrame::getValue (MAYBE_UNUSED jint slot)
 {
   return 0;
 }
 
 void
-gnu::classpath::jdwp::VMFrame::setValue (jint slot, Object* value)
+gnu::classpath::jdwp::VMFrame::setValue (MAYBE_UNUSED jint slot,
+                                        MAYBE_UNUSED Object* value)
 {
 }