diff --git a/src/dawn/native/ShaderModule.cpp b/src/dawn/native/ShaderModule.cpp index 1ca7c7c8ab..812980d50e 100644 --- a/src/dawn/native/ShaderModule.cpp +++ b/src/dawn/native/ShaderModule.cpp @@ -529,7 +529,6 @@ ResultOrError> ReflectEntryPointUsingTint( if (!entryPoint.overrides.empty()) { const auto& name2Id = inspector->GetNamedOverrideIds(); - const auto& id2Scalar = inspector->GetOverrideDefaultValues(); for (auto& c : entryPoint.overrides) { auto id = name2Id.at(c.name);