Never issue a warning if the exception is unused

This commit is contained in:
Jonathan Schleifer 2017-01-22 16:55:26 +01:00
parent f2b431f80a
commit 9eedf4ce0d
No known key found for this signature in database
GPG key ID: 28D65178B37F33E3
2 changed files with 3 additions and 5 deletions

View file

@ -37,7 +37,6 @@ main()
try {
puts("try2");
} catch (ex) {
(void)ex;
puts("this should not be called");
}
@ -50,7 +49,6 @@ main()
throw(1);
return 1;
} catch (ex) {
(void)ex;
}
return 0;