diff options
author | Jakob Bornecrantz <jakob@tungstengraphics.com> | 2008-11-15 12:10:32 +0100 |
---|---|---|
committer | Jakob Bornecrantz <jakob@tungstengraphics.com> | 2008-11-15 12:10:32 +0100 |
commit | 56ef0aeda5d23bf0c6147fd9d20d61abd18207af (patch) | |
tree | a237ef0e36480ec497682edcf91432f01d4f10af /src/gallium/winsys | |
parent | db20a65a39b090da21d0cbcb212a9fe7ea66a480 (diff) |
i915: Silence warning
Diffstat (limited to 'src/gallium/winsys')
-rw-r--r-- | src/gallium/winsys/drm/intel/egl/intel_egl.c | 2 |
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]; |