Fix warnings (remove unused vars)