Removed unnecessary operation in var-array