summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakob Bornecrantz <[email protected]>2008-11-15 12:10:32 +0100
committerJakob Bornecrantz <[email protected]>2008-11-15 12:10:32 +0100
commit56ef0aeda5d23bf0c6147fd9d20d61abd18207af (patch)
treea237ef0e36480ec497682edcf91432f01d4f10af
parentdb20a65a39b090da21d0cbcb212a9fe7ea66a480 (diff)
i915: Silence warning
-rw-r--r--src/gallium/winsys/drm/intel/egl/intel_egl.c2
1 files changed, 1 insertions, 1 deletions
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];