Minor warning fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5066 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
9c523394a9
commit
c80194ff80
1 changed files with 2 additions and 2 deletions
|
|
@ -9,7 +9,7 @@ public class runme
|
|||
using (G g = new G()) {
|
||||
}
|
||||
throw new Exception("Protected destructor exception should have been thrown");
|
||||
} catch (MethodAccessException e) {
|
||||
} catch (MethodAccessException) {
|
||||
}
|
||||
|
||||
// calling private destructor test
|
||||
|
|
@ -17,7 +17,7 @@ public class runme
|
|||
using (FFF f = new FFF()) {
|
||||
}
|
||||
throw new Exception("Private destructor exception should have been thrown");
|
||||
} catch (MethodAccessException e) {
|
||||
} catch (MethodAccessException) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue