
Most often it is a bug if the condition part of a for-loop contains the assignment operator rather than the comparison one, so tools rightfully emit a warning. Clarify that the assignment is intentional in this case by adding parentheses. Spotted by eslint. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/375