Add back unused-variable warning

This commit is contained in:
Patrick Nicolas
2026-10-16 08:03:21 +02:00
parent 650ca30874
commit 879c50c743
26 changed files with 24 additions and 70 deletions
+1 -1
View File
@@ -494,7 +494,7 @@ xrt_result_t compositor::layer_commit(xrt_graphics_sync_handle_t sync_handle)
info.frame_id);
}
auto j = encode_request.exchange(i);
[[maybe_unused]] auto j = encode_request.exchange(i);
encode_request.notify_all();
assert(j == -1);
-1
View File
@@ -594,7 +594,6 @@ std::array<to_headset::foveation_parameter, 2> foveation::foveate(
bool alpha)
{
update_ubo(cmd, flip_y, src_rect, src_fov);
auto ubo = gpu_buffer.data<ubo_data>();
std::array src_image_info{
vk::DescriptorImageInfo{
-1
View File
@@ -157,7 +157,6 @@ void pacer::on_feedback(const wivrn::from_headset::feedback & feedback, const cl
if (d < 0)
d += frame_duration_ns;
d -= frame_duration_ns / 2;
auto l = last_ns;
last_ns += d / 10;
}