diff options
author | Xiang, Haihao <haihao.xiang@intel.com> | 2011-09-19 15:07:02 +0800 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2011-09-19 15:35:41 +0800 |
commit | 196d496aa60ac03233e1341a2b7880ee08861df2 (patch) | |
tree | 48d1ca133255a8aed2c8691694f75598659332b7 /src/intel_batchbuffer_dump.c | |
parent | 397b303bf5ad4e7c1997d0fa3a879ba5e254ec9d (diff) |
silence compiler warning
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Diffstat (limited to 'src/intel_batchbuffer_dump.c')
-rw-r--r-- | src/intel_batchbuffer_dump.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/intel_batchbuffer_dump.c b/src/intel_batchbuffer_dump.c index 99c2c1c..1953b22 100644 --- a/src/intel_batchbuffer_dump.c +++ b/src/intel_batchbuffer_dump.c @@ -6,6 +6,8 @@ #include "intel_driver.h" #include "intel_batchbuffer_dump.h" +#ifdef I965_DEBUG + #define BUFFER_FAIL(_count, _len, _name) do { \ fprintf(gout, "Buffer size too small in %s (%d < %d)\n", \ (_name), (_count), (_len)); \ @@ -769,3 +771,5 @@ int intel_batchbuffer_dump(unsigned int *data, unsigned int offset, int count, u return failures; } + +#endif |