summaryrefslogtreecommitdiff
path: root/Lib/modula3
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/modula3')
-rw-r--r--Lib/modula3/modula3.swg1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/modula3/modula3.swg b/Lib/modula3/modula3.swg
index cd0f70f58..93e27863b 100644
--- a/Lib/modula3/modula3.swg
+++ b/Lib/modula3/modula3.swg
@@ -571,6 +571,7 @@ $1 = &temp; %}
}
%typemap(throws) SWIGTYPE {
+ (void)$1;
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "C++ $1_type exception thrown");
RETURN $null;
}