diff --git a/EventViewer/LocalSettings.cs b/EventViewer/LocalSettings.cs index d68be119c..3ea77b836 100644 --- a/EventViewer/LocalSettings.cs +++ b/EventViewer/LocalSettings.cs @@ -147,7 +147,7 @@ namespace EventViewer } } } - catch (Exception e) + catch (Exception) { //log.ErrorFormat("Failed to load from '{0}': {1}", fileName, e.Message); return null; @@ -203,7 +203,7 @@ namespace EventViewer } #endif } - catch (Exception e) + catch (Exception) { //log.ErrorFormat("Failed to save to '{0}': {1}", Program.LocalSettingsFileName, e.Message); } diff --git a/EventViewer/Program.cs b/EventViewer/Program.cs index 725979222..9841c89b9 100644 --- a/EventViewer/Program.cs +++ b/EventViewer/Program.cs @@ -122,7 +122,7 @@ namespace EventViewer /// Open the main application window Application.Run(new EventViewerWnd()); } - catch (Exception e) + catch (Exception) { //LogException(log, "Exception in Application.Run(new ResultsBrowserWnd(args))", e); }