Alter redundant variable initialisers and optimise some if conditions