Yes, I know, a good compiler will optimise this away, but I feel this is neater.
Attach a file by drag & drop or click to upload