Initialise the success register to 0 in the same basic block where it is used to avoid confusing the register allocator.