The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

t/slam: Fix uninitialized pointer

Closes #317

+1 -1
+1 -1
src/xrt/auxiliary/tracking/t_tracker_slam.cpp
··· 730 730 flush_poses(TrackerSlam &t) 731 731 { 732 732 733 - vit_pose_t *pose; 733 + vit_pose_t *pose = NULL; 734 734 vit_result_t vres = t.vit.tracker_pop_pose(t.tracker, &pose); 735 735 if (vres != VIT_SUCCESS) { 736 736 SLAM_ERROR("Failed to get pose from VIT tracker");