Fixed some compile warnings with Clang on Windows (#3754)

This commit is contained in:
Sammy Fatnassi
2021-01-26 14:09:18 +01:00
committed by ocornut
parent bb26751b94
commit 376c88a864
3 changed files with 5 additions and 2 deletions

View File

@ -7305,6 +7305,7 @@ static ImU32 ImGui::TabBarCalcTabID(ImGuiTabBar* tab_bar, const char* label, I
{
if (docked_window != NULL)
{
IM_UNUSED(tab_bar);
IM_ASSERT(tab_bar->Flags & ImGuiTabBarFlags_DockNode);
ImGuiID id = ImHashStr(label);
KeepAliveID(id);