Fix build warnings

This commit is contained in:
Sam Harwell 2013-02-26 14:37:20 -06:00
parent ee871fa0d4
commit 4862f07a86
1 changed files with 6 additions and 2 deletions

View File

@ -307,16 +307,20 @@ namespace Antlr4.Runtime.Misc
int version = ruleVersion != null ? ruleVersion.Version : 0;
versions[index] = version;
}
catch (ArgumentException ex)
catch (ArgumentException)
{
#if false
Logger.Log(Level.Warning, null, ex);
#else
throw;
#endif
}
catch (MemberAccessException ex)
catch (MemberAccessException)
{
#if false
Logger.Log(Level.Warning, null, ex);
#else
throw;
#endif
}
}