st/oxr: Silence warning

Reviewed-by: Ryan Pavlik <ryan.pavlik@collabora.com>
This commit is contained in:
Jakob Bornecrantz 2019-04-01 17:07:23 +01:00
parent b78a1936f4
commit 4540cff077

View file

@ -311,9 +311,10 @@ oxr_session_frame_wait(struct oxr_logger *log,
//! @todo this should be carefully synchronized, because there may be
//! more than one session per instance.
timepoint_ns now =
XRT_MAYBE_UNUSED timepoint_ns now =
time_state_get_now_and_update(sess->sys->inst->timekeeping);
struct xrt_compositor *xc = sess->compositor;
xc->wait_frame(xc, &frameState->predictedDisplayTime,
&frameState->predictedDisplayPeriod);