Mark `bytes' and `valid' parameters as potentially unused.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154886
138bc75d-0d04-0410-961f-
82ee72b054a4
+2009-12-02 Ben Elliston <bje@au.ibm.com>
+
+ * java/net/natVMURLConnection.cc (guessContentTypeFromBuffer):
+ Mark `bytes' and `valid' parameters as potentially unused.
+
2009-11-30 Dave Korn <dave.korn.cygwin@gmail.com>
* testsuite/lib/libjava.exp (libjava_init): Add host-dependent
}
::java::lang::String *
-java::net::VMURLConnection::guessContentTypeFromBuffer (jbyteArray bytes,
- jint valid)
+java::net::VMURLConnection::guessContentTypeFromBuffer (jbyteArray bytes __attribute__ ((unused)),
+ jint valid __attribute__ ((unused)))
{
#if defined (HAVE_MAGIC_T) && defined (HAVE_MAGIC_H) && defined (USE_LTDL)
const char *result;