Not handled warnings is bad practice. You can declare a variable which is unused, but you'll need the variable, you can use following trick: &your_var.