diff options
author | Paulo Zanoni <paulo.r.zanoni@intel.com> | 2011-09-16 18:56:00 -0300 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2011-09-18 09:47:55 +0100 |
commit | 7f0cba3a255eb9e76d56201b26d15f2d49134b58 (patch) | |
tree | 3a3b92e9a46d08636bcc2556b6c9cd5ad79b1540 /src/xvmc | |
parent | 2d9effca142b1d82cd1a7ad3b7d2a61c4567801b (diff) |
Remove useless assertion
Removes 17 instances of:
warning: comparison of unsigned expression >= 0 is always true
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/xvmc')
-rw-r--r-- | src/xvmc/intel_batchbuffer.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/xvmc/intel_batchbuffer.h b/src/xvmc/intel_batchbuffer.h index 888abeb1..7fae6f7d 100644 --- a/src/xvmc/intel_batchbuffer.h +++ b/src/xvmc/intel_batchbuffer.h @@ -44,7 +44,6 @@ extern int VERBOSE; do { \ xvmc_driver->batch.space -= (batch_ptr - xvmc_driver->batch.ptr);\ xvmc_driver->batch.ptr = batch_ptr; \ - assert(xvmc_driver->batch.space >= 0); \ } while(0) extern void intelFlushBatch(Bool); |