Getting rid of warnings.

This commit is contained in:
Milan Hanajik 2021-04-07 21:32:33 +02:00
parent b5572c20e3
commit 352ed581c2
2 changed files with 3 additions and 3 deletions

View File

@ -147,7 +147,7 @@ namespace EventViewer
} }
} }
} }
catch (Exception e) catch (Exception)
{ {
//log.ErrorFormat("Failed to load from '{0}': {1}", fileName, e.Message); //log.ErrorFormat("Failed to load from '{0}': {1}", fileName, e.Message);
return null; return null;
@ -203,7 +203,7 @@ namespace EventViewer
} }
#endif #endif
} }
catch (Exception e) catch (Exception)
{ {
//log.ErrorFormat("Failed to save to '{0}': {1}", Program.LocalSettingsFileName, e.Message); //log.ErrorFormat("Failed to save to '{0}': {1}", Program.LocalSettingsFileName, e.Message);
} }

View File

@ -122,7 +122,7 @@ namespace EventViewer
/// Open the main application window /// Open the main application window
Application.Run(new EventViewerWnd()); Application.Run(new EventViewerWnd());
} }
catch (Exception e) catch (Exception)
{ {
//LogException(log, "Exception in Application.Run(new ResultsBrowserWnd(args))", e); //LogException(log, "Exception in Application.Run(new ResultsBrowserWnd(args))", e);
} }