Fixed some compile warnings.

This commit is contained in:
Taloth Saldono
2016-02-11 21:49:22 +01:00
parent 91d91bc673
commit e01b2ef25c
14 changed files with 21 additions and 28 deletions

View File

@@ -296,7 +296,7 @@ namespace LogentriesCore
WriteDebugMessages("HostName parameter is not defined - trying to get it from System.Environment.MachineName");
m_HostName = "HostName=" + System.Environment.MachineName + " ";
}
catch (InvalidOperationException ex)
catch (InvalidOperationException)
{
// Cannot get host name automatically, so assume that HostName is not used
// and log message is sent without it.