I don't know what you expect lines 16 to 24 to do, but the bitwise-and operation is not normally expected to have side-effects.