From: George Kyriazis Date: Fri, 19 Jan 2018 21:47:08 +0000 (-0600) Subject: swr/rast: silence generated file warnings X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3c405e32b0e6a248fa1e35a97276473884517eb1;p=mesa.git swr/rast: silence generated file warnings Reviewed-by: Bruce Cherniak --- diff --git a/src/gallium/drivers/swr/rasterizer/codegen/templates/gen_llvm.hpp b/src/gallium/drivers/swr/rasterizer/codegen/templates/gen_llvm.hpp index 61c31328a6a..9db6c61b988 100644 --- a/src/gallium/drivers/swr/rasterizer/codegen/templates/gen_llvm.hpp +++ b/src/gallium/drivers/swr/rasterizer/codegen/templates/gen_llvm.hpp @@ -40,6 +40,7 @@ namespace SwrJit INLINE static StructType *Gen_${type['name']}(JitManager* pJitMgr) { LLVMContext& ctx = pJitMgr->mContext; + (void) ctx; StructType* pRetType = pJitMgr->mpCurrentModule->getTypeByName("${type['name']}"); if (pRetType == nullptr)