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:
parent
dab1c0f159
commit
8c59c5ba4e
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue