This probably can't happen, but we're better off with initialized
variables.
CID:
1415114
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
__DRIimage *image, GLenum target)
{
struct intel_image_format *f = image->planar_format;
- struct intel_mipmap_tree *planar_mt;
+ struct intel_mipmap_tree *planar_mt = NULL;
for (int i = 0; i < f->nplanes; i++) {
const int index = f->planes[i].buffer_index;