Tread unused-variable as error
Add missing initialization
Add #ifdef guard
Add missing initialization
Add #ifdef guard