[Mesa-dev] [PATCH 13/20] swr/rast: silence generated file warnings

George Kyriazis george.kyriazis at intel.com
Fri Jan 19 21:47:08 UTC 2018


---
 src/gallium/drivers/swr/rasterizer/codegen/templates/gen_llvm.hpp | 1 +
 1 file changed, 1 insertion(+)

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 61c3132..9db6c61 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)
-- 
2.7.4



More information about the mesa-dev mailing list