From 2b152a9a6edd47ad04d303689dce07cb73c88b77 Mon Sep 17 00:00:00 2001 From: Nikita Lutsenko Date: Wed, 16 Oct 2024 13:14:49 -0700 Subject: [PATCH] ocean | demo | Silence set but not used variable warning. Summary: Silence the warning, since maybe useful. Reviewed By: boguscoder, enpe Differential Revision: D64487252 fbshipit-source-id: 988384ee41726fe417446cd8008cbc76a59ef6ac --- .../oculustags/oculustagtracker/OculusTagTrackerWrapper.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/impl/application/ocean/demo/tracking/oculustags/oculustagtracker/OculusTagTrackerWrapper.cpp b/impl/application/ocean/demo/tracking/oculustags/oculustagtracker/OculusTagTrackerWrapper.cpp index 5b27c9fbc..5a95b2e52 100644 --- a/impl/application/ocean/demo/tracking/oculustags/oculustagtracker/OculusTagTrackerWrapper.cpp +++ b/impl/application/ocean/demo/tracking/oculustags/oculustagtracker/OculusTagTrackerWrapper.cpp @@ -358,7 +358,8 @@ bool OculusTagTrackerWrapper::trackNewFrame(Frame& resultFrame, double& time) bool trackerResult = false; performance_.start(); - trackerResult = oculusTagTracker_.trackTagsStereo(*anyCameras[cameraIndex0], *anyCameras[cameraIndex1], yFrames[0], yFrames[1], HomogenousMatrix4(world_T_device), HomogenousMatrix4(device_T_cameras[0]), HomogenousMatrix4(device_T_cameras[1]), trackedTags); + trackerResult = oculusTagTracker_.trackTagsStereo(*anyCameras[cameraIndex0], *anyCameras[cameraIndex1], yFrames[0], yFrames[1], HomogenousMatrix4(world_T_device), HomogenousMatrix4(device_T_cameras[0]), HomogenousMatrix4(device_T_cameras[1]), trackedTags); + (void)trackerResult; performance_.stop(); const OculusTagTracker::TrackedTagMap& trackedTagMap = oculusTagTracker_.trackedTagMap();