diff --git a/modules/access/dshow/dshow.cpp b/modules/access/dshow/dshow.cpp
index dba3e799a1129a961ff6a9e21287c9d88e1067dc..1e65eb36e4ac8a27de87b70ac1233f5abd508177 100644
--- a/modules/access/dshow/dshow.cpp
+++ b/modules/access/dshow/dshow.cpp
@@ -2219,7 +2219,6 @@ static void ConfigTuner( vlc_object_t *p_this, ICaptureGraphBuilder2 *p_graph,
 {
     int i_channel, i_country, i_input, i_amtuner_mode;
     long l_modes = 0;
-    unsigned i_frequency;
     ComPtr<IAMTVTuner> p_TV;
     HRESULT hr;