i915: Silence warning

This commit is contained in:
Jakob Bornecrantz 2008-11-15 12:10:32 +01:00
parent db20a65a39
commit 56ef0aeda5

View file

@ -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];