From 2d902dbf026620dce4eeb6d80a010deabd541f05 Mon Sep 17 00:00:00 2001 From: Karol Herbst Date: Tue, 25 Jul 2023 11:20:28 +0200 Subject: [PATCH] rusticl: fix warnings with newer rustc Part-of: --- src/gallium/frontends/rusticl/core/program.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/frontends/rusticl/core/program.rs b/src/gallium/frontends/rusticl/core/program.rs index 9bcb6b9b8c1..5d838de5257 100644 --- a/src/gallium/frontends/rusticl/core/program.rs +++ b/src/gallium/frontends/rusticl/core/program.rs @@ -553,7 +553,7 @@ impl Program { return false; } - let mut d = info.dev_build_mut(dev); + let d = info.dev_build_mut(dev); // skip compilation if we already have the right thing. if self.is_bin() { @@ -594,7 +594,7 @@ impl Program { headers: &[spirv::CLCHeader], info: &mut MutexGuard, ) -> bool { - let mut d = info.dev_build_mut(dev); + let d = info.dev_build_mut(dev); let (spirv, log) = match &self.src { ProgramSourceType::Il(spirv) => {