natVMFrame.cc: Mark unused parameters with MAYBE_UNUSED.

* gnu/classpath/jdwp/natVMFrame.cc: Mark unused parameters with
        MAYBE_UNUSED.

From-SVN: r120972
This commit is contained in:
Keith Seitz 2007-01-19 17:46:57 +00:00 committed by Keith Seitz
parent 80e9603862
commit 6c798f4fc1
2 changed files with 8 additions and 3 deletions

View 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>:

View 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)
{
}