Remove inline assignment in if block
Remove inline assignment in if block

Closes #431

cvo-technologies/croogo,rakeshtembhurne/croogo,rakeshtembhurne/croogo,rakeshtembhurne/croogo,rchavik/croogo,xintesa/croogo,delkyd/croogo,xintesa/croogo,delkyd/croogo,cvo-technologies/croogo,Wouter0100/croogo,delkyd/croogo,cvo-technologies/croogo,Wouter0100/croogo,xintesa/croogo,damien-biasotto/croogo,Wouter0100/croogo,rchavik/croogo,damien-biasotto/croogo