Remove compiler warnings

This commit is contained in:
Yeechan Lu
2014-03-18 12:28:48 +08:00
parent b7893c2820
commit b9c58adae6
7 changed files with 14 additions and 8 deletions

View File

@@ -62,7 +62,7 @@ namespace Wox.Helper
return false;
}
}
catch (Exception ex)
catch (Exception)
{
// Probably dwmapi.dll not found (incompatible OS)
return false;

View File

@@ -31,7 +31,7 @@ namespace Wox
public partial class MainWindow
{
private static readonly object locker = new object();
public static bool Initialized = false;
public static bool initialized = false;
private static readonly List<Result> waitShowResultList = new List<Result>();
private readonly GloablHotkey globalHotkey = new GloablHotkey();
@@ -44,7 +44,7 @@ namespace Wox
public MainWindow()
{
InitializeComponent();
Initialized = true;
initialized = true;
AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException;