scummvm/scummvm — comment on commit 747ebffd17eb64423fd8fb321f9d803ec31105f4
File:  line 0
By wjp:

Agreed; you're probably right about what the code was trying to do. This assignment of 0 is indeed meaningless since the writes may be reordered, and also the reads in onTimer() where these variables is used may be reordered. If this needs to be thread-safe, it should be handled some other way.

I'm reverting this commit and adding a FIXME to this line.