Eliminated another warning from static analysis
Eliminated another warning from static analysis

Eliminated another warning from static analysis and changed "for "
structure for while.

gizmosachin/MAConfirmButton,codegefluester/MAConfirmButton