sna/dri2: Remove unused local variable in normal builds

The local was only used in debug builds, so remove it to squash the
compiler warning.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2015-08-19 15:20:37 +01:00
parent dab1c0f159
commit 8c59c5ba4e
1 changed files with 1 additions and 3 deletions

View File

@ -1578,9 +1578,7 @@ sna_dri2_remove_event(struct sna_dri2_event *info)
static void
sna_dri2_event_free(struct sna_dri2_event *info)
{
DrawablePtr draw = info->draw;
DBG(("%s(draw?=%d)\n", __FUNCTION__, draw != NULL));
DBG(("%s(draw?=%d)\n", __FUNCTION__, info->draw != NULL));
assert(!info->queued);
assert(!info->signal);
assert(info->pending.bo == NULL);