From c03decd4d984e72b497c5dfa233f15a225f1b145 Mon Sep 17 00:00:00 2001 From: Lubosz Sarnecki Date: Wed, 16 Dec 2020 13:49:22 +0100 Subject: [PATCH] d/ht: Remove unused variable. Fixes warning on gcc 10. --- src/xrt/drivers/ht/ht_prober.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/xrt/drivers/ht/ht_prober.c b/src/xrt/drivers/ht/ht_prober.c index 6cd165c63..3437864dd 100644 --- a/src/xrt/drivers/ht/ht_prober.c +++ b/src/xrt/drivers/ht/ht_prober.c @@ -46,8 +46,6 @@ ht_prober_autoprobe(struct xrt_auto_prober *xap, bool no_hmds, struct xrt_prober *xp) { - struct ht_prober *htp = ht_prober(xap); - struct xrt_device *xdev = ht_device_create(xap, attached_data, xp); xdev->orientation_tracking_supported = true;