Fix warning for unused var.