--- a/src/ui/wxWidgets/DbSelectionPanel.cpp
+++ b/src/ui/wxWidgets/DbSelectionPanel.cpp
@@ -126,7 +126,7 @@
   }
 }
 
-void DbSelectionPanel::OnFilePicked(wxFileDirPickerEvent &evt)
+void DbSelectionPanel::OnFilePicked(wxFileDirPickerEvent& /* event */)
 {
 	// Don't shift focus if we are in the text ctrl
 	if ( !wxDynamicCast(FindFocus(), wxTextCtrl) )