diff --git a/isometric-park-fna/Engines/ImGuiWindowBridgeEngine.cs b/isometric-park-fna/Engines/ImGuiWindowBridgeEngine.cs --- a/isometric-park-fna/Engines/ImGuiWindowBridgeEngine.cs +++ b/isometric-park-fna/Engines/ImGuiWindowBridgeEngine.cs @@ -1,6 +1,5 @@ using System; using System.Collections.Generic; -using Encompass; using System.Linq; using Encompass; diff --git a/isometric-park-fna/FNAGame.cs b/isometric-park-fna/FNAGame.cs --- a/isometric-park-fna/FNAGame.cs +++ b/isometric-park-fna/FNAGame.cs @@ -85,7 +85,6 @@ public bool show_another_window; private bool showInitial; - int messageIndex; public Story Story; @@ -161,7 +160,6 @@ showInitial = true; - messageIndex = 0; showBudget = false; showForest = false; showNews = false; diff --git a/isometric-park-fna/Logging.cs b/isometric-park-fna/Logging.cs --- a/isometric-park-fna/Logging.cs +++ b/isometric-park-fna/Logging.cs @@ -295,7 +295,7 @@ properties.Add(field.ToString() + "=" + field.GetValue(value).ToString()); } - catch (NullReferenceException e) + catch (NullReferenceException) { properties.Add(field.ToString() + "= " ); } @@ -322,7 +322,7 @@ properties.Add(field.ToString() + "=" + field.GetValue(value).ToString()); } - catch (NullReferenceException e) + catch (NullReferenceException) { properties.Add(field.ToString() + "= " ); } diff --git a/isometric-park-fna/UI/Dialog.cs b/isometric-park-fna/UI/Dialog.cs --- a/isometric-park-fna/UI/Dialog.cs +++ b/isometric-park-fna/UI/Dialog.cs @@ -115,7 +115,6 @@ public static void RenderDialog(Entity entity, ImGuiWindowBridgeEngine bridgeEngine, ref bool show, ref bool paused, ImFontPtr font, DialogComponent dialogComponent) { - Node new_child = default; if (show) { ImGui.PushFont(font);