From fc4c242442510fb97c3cfbf04d7582ebbc3bb0ed Mon Sep 17 00:00:00 2001 From: Yong He Date: Wed, 24 Apr 2024 15:51:43 -0700 Subject: Fix macos CI and clang warnings. (#4019) * Fix macos CI. * Fix. * Fix. * Fix. * Fix clang warnings. * Fix more warnings. --- source/slang/slang-emit-metal.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'source/slang/slang-emit-metal.cpp') diff --git a/source/slang/slang-emit-metal.cpp b/source/slang/slang-emit-metal.cpp index bf4a67b09..459104ac9 100644 --- a/source/slang/slang-emit-metal.cpp +++ b/source/slang/slang-emit-metal.cpp @@ -160,7 +160,6 @@ void MetalSourceEmitter::emitParameterGroupImpl(IRGlobalParam* varDecl, IRUnifor void MetalSourceEmitter::emitEntryPointAttributesImpl(IRFunc* irFunc, IREntryPointDecoration* entryPointDecor) { - auto profile = m_effectiveProfile; auto stage = entryPointDecor->getProfile().getStage(); switch (stage) -- cgit v1.2.3