stall: the timeline's read needs no first value: every look reads it

Clippy (all three ways) refused the unused initial value.
This commit is contained in:
Anees Iqbal committed 2026-11-12 18:50:18 -08:00
1 parent 64982ac827
commit 779d1be52a
1 file changed
+1 -1
@@ -139,7 +139,7 @@ pub(super) fn probe(
.and_then(|mut staging| staging.probe());
let began = Instant::now();
let mut fence_read: Option<vk::Result> = None;
let mut timeline_read: Result<u64, vk::Result> = Ok(0);
let mut timeline_read: Result<u64, vk::Result>;
let mut answered: Result<bool, String> = Ok(false);
let verdict = loop {
if let Some(fence) = fence {