From: przanoni@gmail.com
To: intel-gfx@lists.freedesktop.org
Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>
Subject: [PATCH 2/2] Remove useless assertion
Date: Fri, 16 Sep 2011 18:56:00 -0300 [thread overview]
Message-ID: <1316210160-23263-1-git-send-email-przanoni@gmail.com> (raw)
In-Reply-To: <1316209981-23217-1-git-send-email-przanoni@gmail.com>
From: Paulo Zanoni <paulo.r.zanoni@intel.com>
Removes 17 instances of:
warning: comparison of unsigned expression >= 0 is always true
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
---
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 888abeb..7fae6f7 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);
--
1.7.4.1
next prev parent reply other threads:[~2011-09-16 21:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-16 21:53 [PATCH 1/2] Fix "always false" conditionals przanoni
2011-09-16 21:56 ` przanoni [this message]
2011-09-16 22:11 ` Chris Wilson
2011-09-18 8:48 ` Chris Wilson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1316210160-23263-1-git-send-email-przanoni@gmail.com \
--to=przanoni@gmail.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=paulo.r.zanoni@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.