diff options
author | Daniel Stone <daniels@collabora.com> | 2018-04-05 14:58:40 +0100 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2018-04-05 10:48:10 -0400 |
commit | 78574a66b5b286e26839877640592980de089d64 (patch) | |
tree | 39732acee6375601ccc31a0c02f7229ef00d97ab /mi/misprite.c | |
parent | ce2a4313dd31084f7766af59b8477cabe029bf44 (diff) |
modesetting: Don't reuse iterator in nested loop
drmmode_crtc_set_mode has a loop nested inside another loop, where both
of them were using 'i' as the loop iterator. Rename it to avoid an
infinite loop.
Signed-off-by: Daniel Stone <daniels@collabora.com>
Reported-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-and-Tested-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'mi/misprite.c')
0 files changed, 0 insertions, 0 deletions