From f6adbf0e4f17bb6644089a483fae2222f590b105 Mon Sep 17 00:00:00 2001 From: Thom McGrath Date: Tue, 5 Dec 2023 13:36:21 -0500 Subject: [PATCH] Cleaned up some warnings --- Project/Modules/Game Support/Ark/BlueprintReference.xojo_code | 1 - .../Config Editors/Loot Drops/ArkAddLootDropDialog.xojo_window | 1 - .../Loot Drops/ArkSAAddLootDropDialog.xojo_window | 1 - Project/Views/Support Ticket/DebugWindow.xojo_window | 3 +++ 4 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Project/Modules/Game Support/Ark/BlueprintReference.xojo_code b/Project/Modules/Game Support/Ark/BlueprintReference.xojo_code index ab083ac57..148baa50b 100644 --- a/Project/Modules/Game Support/Ark/BlueprintReference.xojo_code +++ b/Project/Modules/Game Support/Ark/BlueprintReference.xojo_code @@ -333,7 +333,6 @@ Implements Beacon.NamedItem Packs = New Beacon.StringList(Self.mContentPackId) End If - Var Create As Boolean = (Options And Self.OptionCreate) = Self.OptionCreate Var Blueprint As Ark.Blueprint Select Case Self.mKind Case Self.KindEngram diff --git a/Project/Views/Ark/Config Editors/Loot Drops/ArkAddLootDropDialog.xojo_window b/Project/Views/Ark/Config Editors/Loot Drops/ArkAddLootDropDialog.xojo_window index d14e6b99e..18e4c48ee 100644 --- a/Project/Views/Ark/Config Editors/Loot Drops/ArkAddLootDropDialog.xojo_window +++ b/Project/Views/Ark/Config Editors/Loot Drops/ArkAddLootDropDialog.xojo_window @@ -779,7 +779,6 @@ End Var Data As Ark.DataSource = Ark.DataSource.Pool.Get(False) Var Overrides() As Ark.LootDropOverride = Self.mConfig.Overrides - Var AllContainers() As Ark.LootContainer = Data.GetLootContainers("", Self.mContentPacks, "") Var AllowedLootContainers() As Ark.LootContainer = Data.GetLootContainers(Self.FilterField.Text.MakeUTF8, Self.mContentPacks, "", Preferences.ShowExperimentalLootSources) For X As Integer = AllowedLootContainers.LastIndex DownTo 0 If Not AllowedLootContainers(X).ValidForMask(Self.mMask) Then diff --git a/Project/Views/ArkSA/Config Editors/Loot Drops/ArkSAAddLootDropDialog.xojo_window b/Project/Views/ArkSA/Config Editors/Loot Drops/ArkSAAddLootDropDialog.xojo_window index 079deee35..b3f5b8319 100644 --- a/Project/Views/ArkSA/Config Editors/Loot Drops/ArkSAAddLootDropDialog.xojo_window +++ b/Project/Views/ArkSA/Config Editors/Loot Drops/ArkSAAddLootDropDialog.xojo_window @@ -779,7 +779,6 @@ End Var Data As ArkSA.DataSource = ArkSA.DataSource.Pool.Get(False) Var Overrides() As ArkSA.LootDropOverride = Self.mConfig.Overrides - Var AllContainers() As ArkSA.LootContainer = Data.GetLootContainers("", Self.mContentPacks, "") Var AllowedLootContainers() As ArkSA.LootContainer = Data.GetLootContainers(Self.FilterField.Text.MakeUTF8, Self.mContentPacks, "", Preferences.ShowExperimentalLootSources) For X As Integer = AllowedLootContainers.LastIndex DownTo 0 If Not AllowedLootContainers(X).ValidForMask(Self.mMask) Then diff --git a/Project/Views/Support Ticket/DebugWindow.xojo_window b/Project/Views/Support Ticket/DebugWindow.xojo_window index 83d8b922c..6c7fe18ba 100644 --- a/Project/Views/Support Ticket/DebugWindow.xojo_window +++ b/Project/Views/Support Ticket/DebugWindow.xojo_window @@ -26,6 +26,7 @@ Begin BeaconWindow DebugWindow Implements NotificationKit.Receiver Width = 600 Begin Beacon.Thread CollectionThread DebugIdentifier = "" + Enabled = True Index = -2147483648 LockedInPosition= False Priority = 5 @@ -668,6 +669,7 @@ End ElseIf Self.mLicenseFieldCount < FieldCount Then For Idx As Integer = Self.mLicenseFieldCount + 1 To FieldCount Var Field As DesktopLabel = New LicenseField + Call Field.Text // To silence the warning Next End If Self.mLicenseFieldCount = FieldCount @@ -701,6 +703,7 @@ End ElseIf Self.mProjectFieldCount < FieldCount Then For Idx As Integer = Self.mProjectFieldCount + 1 To FieldCount Var Field As DesktopLabel = New ProjectField + Call Field.Text // To silence the warning Next End If Self.mProjectFieldCount = FieldCount