diff options
author | George Kyriazis <[email protected]> | 2018-01-19 15:47:08 -0600 |
---|---|---|
committer | George Kyriazis <[email protected]> | 2018-01-19 16:52:40 -0600 |
commit | 3c405e32b0e6a248fa1e35a97276473884517eb1 (patch) | |
tree | 7432a339f7d1a6a6bda1b5ca15d7865229861445 /src/gallium/drivers/swr | |
parent | fe107e3c1702c23cb8e3cdf01f3aef83b2e5abcb (diff) |
swr/rast: silence generated file warnings
Reviewed-by: Bruce Cherniak <[email protected]>
Diffstat (limited to 'src/gallium/drivers/swr')
-rw-r--r-- | src/gallium/drivers/swr/rasterizer/codegen/templates/gen_llvm.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
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) |