diff --git a/src/xrt/state_trackers/gui/gui_scene_debug.c b/src/xrt/state_trackers/gui/gui_scene_debug.c index 0df230017..b06177f53 100644 --- a/src/xrt/state_trackers/gui/gui_scene_debug.c +++ b/src/xrt/state_trackers/gui/gui_scene_debug.c @@ -273,10 +273,10 @@ on_elem(struct u_var_info *info, void *priv) const float drag_speed = 0.2f; const float power = 1.0f; - const ImVec2 dummy = {0, 0}; + const ImVec2 scratch = {0, 0}; ImGuiColorEditFlags flags = ImGuiColorEditFlags_NoInputs | ImGuiColorEditFlags_NoLabel | ImGuiColorEditFlags_PickerHueWheel; - (void)dummy; + (void)scratch; ImGuiInputTextFlags i_flags = ImGuiInputTextFlags_None; ImGuiInputTextFlags ro_i_flags = ImGuiInputTextFlags_ReadOnly; diff --git a/src/xrt/state_trackers/gui/gui_scene_tracking_overrides.c b/src/xrt/state_trackers/gui/gui_scene_tracking_overrides.c index f92ae1330..7e017777b 100644 --- a/src/xrt/state_trackers/gui/gui_scene_tracking_overrides.c +++ b/src/xrt/state_trackers/gui/gui_scene_tracking_overrides.c @@ -273,7 +273,7 @@ scene_render(struct gui_scene *scene, struct gui_program *p) ts->overrides[i].tracker_device_serial); if (igCheckbox(buf, &checked)) { - // abort adding override when clicking to edit one + // skip adding override when clicking to edit one ts->gui_add_override_active = false; ts->gui_edit_override_index = i;