diff --git a/modules/misc/screensaver.c b/modules/misc/screensaver.c
index 956879b8492af9a63ff2a245e323a7cd2ad2963f..50f53e83b67e2d1e714d60a1e2b25df72b489a8c 100644
--- a/modules/misc/screensaver.c
+++ b/modules/misc/screensaver.c
@@ -134,8 +134,6 @@ static void Deactivate( vlc_object_t *p_this )
  *****************************************************************************/
 static void Run( intf_thread_t *p_intf )
 {
-    vlc_bool_t b_quit = VLC_FALSE;
-
 #ifdef HAVE_DBUS
     p_intf->p_sys->p_connection = dbus_init( p_intf );
 #endif