From 54b43f1f31416411dcd2414291e66b14ff4eda4a Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Wed, 10 Aug 2022 12:58:26 +0100 Subject: [PATCH] t/common: Fix warnings in lighthouse builder --- src/xrt/targets/common/target_builder_lighthouse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xrt/targets/common/target_builder_lighthouse.c b/src/xrt/targets/common/target_builder_lighthouse.c index 75ec099e4..0f70795bf 100644 --- a/src/xrt/targets/common/target_builder_lighthouse.c +++ b/src/xrt/targets/common/target_builder_lighthouse.c @@ -182,10 +182,10 @@ lighthouse_hand_track(struct u_system_devices *usysd, struct xrt_slam_sinks **out_sinks, struct xrt_device **out_devices) { +#ifdef XRT_BUILD_DRIVER_HANDTRACKING struct xrt_device *two_hands[2] = {NULL}; struct xrt_slam_sinks *sinks = NULL; -#ifdef XRT_BUILD_DRIVER_HANDTRACKING LH_ASSERT_(stereo_calib != NULL); struct t_image_boundary_info info;