This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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];
 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]