Add Bruno's comment justifying use of volatile.