It seems like this might do something unexpected if the value assigned to newvar is false or nil intentionally.