st/mesa: Initialize variable.
authorVinson Lee <vlee@vmware.com>
Thu, 20 Oct 2011 23:52:53 +0000 (16:52 -0700)
committerVinson Lee <vlee@vmware.com>
Fri, 21 Oct 2011 00:12:37 +0000 (17:12 -0700)
commitf664d6a2f3575167c4cf83815ea923c379b14fa5
tree3aa3f7188385ec2b668087b8a24267fcaab1772e
parentb27298055efdae61402ca55ef175f60ba16536f3
st/mesa: Initialize variable.

ptr is uninitialized if ib is NULL.

Fixes Coverity uninitialized pointer read defect.

Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
src/mesa/state_tracker/st_draw.c