i965: Remove redundant (and uninitialized) field vec4_generator::ctx.
authorPaul Berry <stereotype441@gmail.com>
Fri, 23 Aug 2013 00:15:04 +0000 (17:15 -0700)
committerPaul Berry <stereotype441@gmail.com>
Mon, 26 Aug 2013 15:55:39 +0000 (08:55 -0700)
commit612226c43b072eb45dc3ed21484054824e1c863c
tree5da43b95d23af9c5345e17ac6b78b0c39cad8677
parent4bf91ca791844c16fda48f54386f1b30f6acefca
i965: Remove redundant (and uninitialized) field vec4_generator::ctx.

We never noticed that this field was uninitialized because it is only
used in an error path that reports internal Mesa errors.

But it's silly to have it around anyway because &brw->ctx is
equivalent.

Should fix Coverity defect CID 1063351: Uninitialized pointer field
(UNINIT_CTOR) /src/mesa/drivers/dri/i965/brw_vec4_emit.cpp: 148

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/dri/i965/brw_vec4.h
src/mesa/drivers/dri/i965/brw_vec4_emit.cpp