warning: assigned but unused variable - e