fix warning for unused _e
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7966 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
49e6084d66
commit
296a3fb00d
1 changed files with 2 additions and 2 deletions
|
|
@ -436,9 +436,9 @@ void emit_action(Node *n, Wrapper *f) {
|
|||
SwigType *et = Getattr(ep,"type");
|
||||
SwigType *etr = SwigType_typedef_resolve_all(et);
|
||||
if (SwigType_isreference(etr) || SwigType_ispointer(etr) || SwigType_isarray(etr)) {
|
||||
Printf(eaction,"catch(%s) {\n", SwigType_str(et, "_e"));
|
||||
Printf(eaction,"catch(%s) {(void)_e;\n", SwigType_str(et, "_e"));
|
||||
} else {
|
||||
Printf(eaction,"catch(%s) {\n", SwigType_str(et, "&_e"));
|
||||
Printf(eaction,"catch(%s) {(void)_e;\n", SwigType_str(et, "&_e"));
|
||||
}
|
||||
Printv(eaction,em,"\n",NIL);
|
||||
Printf(eaction,"}\n");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue