summaryrefslogtreecommitdiff
path: root/src/gallium/winsys
diff options
context:
space:
mode:
authorJakob Bornecrantz <jakob@tungstengraphics.com>2008-11-15 12:10:32 +0100
committerJakob Bornecrantz <jakob@tungstengraphics.com>2008-11-15 12:10:32 +0100
commit56ef0aeda5d23bf0c6147fd9d20d61abd18207af (patch)
treea237ef0e36480ec497682edcf91432f01d4f10af /src/gallium/winsys
parentdb20a65a39b090da21d0cbcb212a9fe7ea66a480 (diff)
i915: Silence warning
Diffstat (limited to 'src/gallium/winsys')
-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 3204ed3131..ed464076ee 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];