|
@@ -10515,7 +10515,7 @@ void ImGui::ErrorRecoveryTryToRecoverWindowState(const ImGuiErrorRecoveryStat
|
|
{
|
|
{
|
|
ImGuiContext& g = *GImGui;
|
|
ImGuiContext& g = *GImGui;
|
|
|
|
|
|
- while (g.CurrentTable != NULL && g.CurrentTable->InnerWindow == g.CurrentWindow)
|
|
|
|
|
|
+ while (g.CurrentTable != NULL && g.CurrentTable->InnerWindow == g.CurrentWindow) //-V1044
|
|
{
|
|
{
|
|
IM_ASSERT_USER_ERROR(0, "Missing EndTable()");
|
|
IM_ASSERT_USER_ERROR(0, "Missing EndTable()");
|
|
EndTable();
|
|
EndTable();
|
|
@@ -10529,7 +10529,7 @@ void ImGui::ErrorRecoveryTryToRecoverWindowState(const ImGuiErrorRecoveryStat
|
|
IM_ASSERT_USER_ERROR(0, "Missing EndTabBar()");
|
|
IM_ASSERT_USER_ERROR(0, "Missing EndTabBar()");
|
|
EndTabBar();
|
|
EndTabBar();
|
|
}
|
|
}
|
|
- while (g.CurrentMultiSelect != NULL && g.CurrentMultiSelect->Storage->Window == window)
|
|
|
|
|
|
+ while (g.CurrentMultiSelect != NULL && g.CurrentMultiSelect->Storage->Window == window) //-V1044
|
|
{
|
|
{
|
|
IM_ASSERT_USER_ERROR(0, "Missing EndMultiSelect()");
|
|
IM_ASSERT_USER_ERROR(0, "Missing EndMultiSelect()");
|
|
EndMultiSelect();
|
|
EndMultiSelect();
|
|
@@ -10562,7 +10562,7 @@ void ImGui::ErrorRecoveryTryToRecoverWindowState(const ImGuiErrorRecoveryStat
|
|
}
|
|
}
|
|
}
|
|
}
|
|
IM_ASSERT(g.DisabledStackSize == state_in->SizeOfDisabledStack);
|
|
IM_ASSERT(g.DisabledStackSize == state_in->SizeOfDisabledStack);
|
|
- while (g.ColorStack.Size > state_in->SizeOfColorStack)
|
|
|
|
|
|
+ while (g.ColorStack.Size > state_in->SizeOfColorStack) //-V1044
|
|
{
|
|
{
|
|
IM_ASSERT_USER_ERROR(0, "Missing PopStyleColor()");
|
|
IM_ASSERT_USER_ERROR(0, "Missing PopStyleColor()");
|
|
PopStyleColor();
|
|
PopStyleColor();
|