int x; != int x=0;

Mike, is that because you're defining it as volatile or because you're defining it in the loop definition? (or both?)