mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-01 19:50:25 +01:00
i915: Silence warning
This commit is contained in:
parent
db20a65a39
commit
56ef0aeda5
1 changed files with 1 additions and 1 deletions
|
|
@ -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];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue