mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-07-11 03:25:25 +02:00
fix a lot of warnings about unused variables, or maybe uninitialized variables
This commit is contained in:
@ -22,7 +22,6 @@ namespace ImGui {
|
||||
|
||||
ImGuiWindow* window = GetCurrentWindow();
|
||||
ImGuiStyle& style = GetStyle();
|
||||
float pad = style.FramePadding.y;
|
||||
ImVec2 min = window->DC.CursorPos;
|
||||
|
||||
// Calculate scale
|
||||
@ -31,7 +30,6 @@ namespace ImGui {
|
||||
|
||||
ImVec2 size = CalcItemSize(size_arg, CalcItemWidth(), height);
|
||||
ImRect bb(min, ImVec2(min.x + size.x, min.y + size.y));
|
||||
float lineHeight = size.y;
|
||||
|
||||
ItemSize(size, style.FramePadding.y);
|
||||
if (!ItemAdd(bb, 0)) {
|
||||
|
Reference in New Issue
Block a user