This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
[patch] mark unused var in natPipeImplPosix
- From: Andreas Tobler <toa at pop dot agri dot ch>
- To: Java Patches <java-patches at gcc dot gnu dot org>
- Date: Fri, 04 Mar 2005 17:50:44 +0100
- Subject: [patch] mark unused var in natPipeImplPosix
Hello,
ok for main?
Andreas
2005-03-04 Andreas Tobler <a.tobler@schweiz.ch>
* gnu/java/nio/natPipeImplPosix.cc (init): Mark self unused.
Index: gnu/java/nio/natPipeImplPosix.cc
===================================================================
RCS file: /cvs/gcc/gcc/libjava/gnu/java/nio/natPipeImplPosix.cc,v
retrieving revision 1.2
diff -u -r1.2 natPipeImplPosix.cc
--- gnu/java/nio/natPipeImplPosix.cc 24 Sep 2004 06:41:57 -0000 1.2
+++ gnu/java/nio/natPipeImplPosix.cc 4 Mar 2005 16:49:24 -0000
@@ -23,8 +23,10 @@
#include <java/nio/channels/spi/SelectorProvider.h>
void
-gnu::java::nio::VMPipe::init (gnu::java::nio::PipeImpl *self,
- ::java::nio::channels::spi::SelectorProvider* /*provider*/)
+gnu::java::nio::VMPipe::init (gnu::java::nio::PipeImpl *self
+ __attribute__ ((unused)),
+ ::java::nio::channels::spi::SelectorProvider*
+ /*provider*/)
{
int filedes [2];