mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-21 23:37:44 +01:00
chore: warnings pass
This commit is contained in:
parent
505e37fd28
commit
b093323acc
49 changed files with 352 additions and 254 deletions
|
|
@ -51,6 +51,7 @@ namespace Dalamud.Interface.Internal.ManagedAsserts
|
|||
// TODO: Needs to be updated for ImGui 1.88
|
||||
return;
|
||||
|
||||
#pragma warning disable CS0162
|
||||
if (!AssertsEnabled)
|
||||
{
|
||||
return;
|
||||
|
|
@ -93,6 +94,7 @@ namespace Dalamud.Interface.Internal.ManagedAsserts
|
|||
ShowAssert(source, $"Mismatched Begin/BeginChild vs End/EndChild calls: did you call End/EndChild too much?\n\ncSnap.WindowStackSize = {cSnap.WindowStackSize}");
|
||||
}
|
||||
}
|
||||
#pragma warning restore CS0162
|
||||
}
|
||||
|
||||
private static void ShowAssert(string source, string message)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue