remove unused method warning with gcc -Wall

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8947 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2006-03-03 22:41:12 +00:00
commit 7a0351adc2

View file

@ -68,7 +68,7 @@ typedef struct {
%}
%insert(runtime) {
static void SWIG_JavaThrowException(JNIEnv *jenv, SWIG_JavaExceptionCodes code, const char *msg) {
static void SWIGUNUSED SWIG_JavaThrowException(JNIEnv *jenv, SWIG_JavaExceptionCodes code, const char *msg) {
jclass excep;
static const SWIG_JavaExceptions_t java_exceptions[] = {
{ SWIG_JavaOutOfMemoryError, "java/lang/OutOfMemoryError" },