Fixed useless initialization of rowToSwap