Fix F841: local variable assined but never used