swr/rast: silence generated file warnings
authorGeorge Kyriazis <george.kyriazis@intel.com>
Fri, 19 Jan 2018 21:47:08 +0000 (15:47 -0600)
committerGeorge Kyriazis <george.kyriazis@intel.com>
Fri, 19 Jan 2018 22:52:40 +0000 (16:52 -0600)
Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
src/gallium/drivers/swr/rasterizer/codegen/templates/gen_llvm.hpp

index 61c31328a6ae74bf1f8830f73faaa218204da24a..9db6c61b98814ff18ac4cb664c60cfeb9e910546 100644 (file)
@@ -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)