Remove unused variable
Don't mix declarations and code