Mesa (master): swr/rast: silence generated file warnings

George Kyriazis gkyriazis at kemper.freedesktop.org
Fri Jan 19 23:04:29 UTC 2018


Module: Mesa
Branch: master
Commit: 3c405e32b0e6a248fa1e35a97276473884517eb1
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3c405e32b0e6a248fa1e35a97276473884517eb1

Author: George Kyriazis <george.kyriazis at intel.com>
Date:   Fri Jan 19 15:47:08 2018 -0600

swr/rast: silence generated file warnings

Reviewed-by: Bruce Cherniak <bruce.cherniak at intel.com>

---

 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 61c31328a6..9db6c61b98 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)




More information about the mesa-commit mailing list