Fix warning: assigned but unused variable - e