Re:How to Get Fired Using Switch Statements and Statement Ex...
by jjnoakes on Friday October 28, 2016 @12:00PM
(#12817405)
Yep, you are right, I missed that "i" was initialized twice; when I see "i=0" in a for loop I assume it isn't initialized right above (otherwise, why put the "i=0" in the for loop at all?).
EDIT: Okay I tried reading the assembly and I think I understand whats going on:
Whoever wrote the code to place variables into memory obviously didn't consider this kind of insane control flow.