FIX: gcc warnings for unused variables