egl/wayland: Declare loop vars inside the loop
authorChad Versace <chadversary@chromium.org>
Thu, 22 Jun 2017 18:00:40 +0000 (11:00 -0700)
committerChad Versace <chadversary@chromium.org>
Thu, 22 Jun 2017 19:35:49 +0000 (12:35 -0700)
commit98497dfd6a594e36d5c3e3bba4fae5eb428a0856
tree5f08c2a2a53bee805fb986f2014664d0ab4fc811
parent927625ca60d56af0a8402b4a6697c0c8654d9a69
egl/wayland: Declare loop vars inside the loop

That is, consistently do this:

    for (int i = 0; ...)

No behavioral change.

Reviewed-by: Eric Engestrom <eric@engestrom.ch>
src/egl/drivers/dri2/platform_wayland.c