From: Jakob Bornecrantz Date: Sat, 15 Nov 2008 11:10:32 +0000 (+0100) Subject: i915: Silence warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=56ef0aeda5d23bf0c6147fd9d20d61abd18207af;p=mesa.git i915: Silence warning --- diff --git a/src/gallium/winsys/drm/intel/egl/intel_egl.c b/src/gallium/winsys/drm/intel/egl/intel_egl.c index 3204ed3131c..ed464076ee3 100644 --- a/src/gallium/winsys/drm/intel/egl/intel_egl.c +++ b/src/gallium/winsys/drm/intel/egl/intel_egl.c @@ -565,7 +565,7 @@ static struct drm_mode_modeinfo * drm_find_mode(drmModeConnectorPtr connector, _EGLMode *mode) { int i; - struct drm_mode_modeinfo *m; + struct drm_mode_modeinfo *m = NULL; for (i = 0; i < connector->count_modes; i++) { m = &connector->modes[i];